Can anyone explain this difference:

F:\>rexx datet
REXX-ooRexx_4.2.0(MT)_64-bit 6.04 22 Feb 2014
date('T',20210228,'S')=1614470400

F:\>regina datet
REXX-Regina_3.9.1(MT) 5.00 5 Apr 2015
date('T',20210228,'S')=1614466800

Difference of 3600 has probably to do with the time zone

Thanks in advance

Walter

Regina says

(time_t) Returns the current UTC date/time in UNIX time_t format. time_t is the 
number of seconds since January 1st 1970. It always represents the UTC 
date/time, so any conversion from another date format (which is always assumed 
to be local time) will result in a time_t value offset by time zone. (Regina 
Extension)

I  couldn't find such a text in ooRexx' Reference
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to