Now I found some text:

"Ticks

returns the number of seconds since 00:00:00.000000 on 1 January 1970, in the 
format:
dddddddddddd (no leading zeros or whitespace).

The value returned by Date('T') can be used to calculate the interval
between any two dates. Note, however, that values returned generally
contain more digits than the default NUMERIC DIGITS setting. The NUMERIC
DIGITS setting should be increased to a minimum value of 12 when
performing timestamp arithmetic."

Actually it's the difference between two timestams

difference between dates could use date('B')

> WalterPachl <pa...@chello.at> hat am 11. Januar 2021 um 21:17 geschrieben:
> 
> 
>     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