Hi,
I need to import some user and the date is a simple string. So converting this to date time should no big deal, but I can´t put my script in the script field. It says: "Imports statements, ass.... expected". Event the excample from 5 month ago shows the same error.
We are running a brand new 8.2 installation.
My conversion is:
Value = Date.ParseExact($sxValidFrom$, "yyyyMMdd", System.Globalization.DateTimeFormatInfo.InvariantInfo)
But also the longer Version does not work:
Dim EntryDate As Date
EntryDate = Date.ParseExact($sxValidFrom$, "yyyyMMdd", System.Globalization.DateTimeFormatInfo.InvariantInfo)
Value = EntryDate
It directly starts complaining after "DIM". Any Idea what i´m doing wrong?