Hi,
I’m importing data from an excel file, there are date values too and I have to check whether the value is a real date or not. The date format on my computer is “yyyy.mm.dd” (Hungarian). The problem is, that if I have a value like 'a.b.c" the NotesDateTime(“a.b.c”) return a valid date 2017.04.01. The funny think is, that the returned value is independent what text do I enter, so for NotesDateTime(“s.d.f”) the value is the same. If there is no separator (in my case the dot), then I get invalid date, which is OK.
Any idea how can I solve this?
Regards, Attila