I found 3 interesting new functions in the Reference Guide 10.2: NewDateFormatter, FormatDate, ParseDate.
Useful stuff!
However, I get wrong results, it seems, or I am interpreting the results the wrong way.
In the Prolog tab, since I'm based in Brussels (Belgium):
Code: Select all
i = NewDateFormatter('nl_BE', 'Europe/Brussels', 'serial', 'long', 'datetime');
now_formatted = FormatDate( now, 'HH:mm:ss' );
AsciiOutput('test.txt', now_formatted);
Hence, 2 hours of difference.
if I use:
Code: Select all
i = NewDateFormatter('nl_BE', 'Etc/UTC', 'serial', 'long', 'datetime');
See http://en.wikipedia.org/wiki/List_of_tz ... time_zones for time zones.
Did anyone use the function?
Wim