Time stamp

Time stamp

Post by rony » Sun, 05 Nov 2006 18:47:34

> Do I need to worry that the call to date() and the call to time()

Just turn the above two statements into one like:

parse value date("B") time("S") with date time

Rexx would make sure that all the date() and time() BIFs called within the same statement will
return the same date/time information.



Time stamp

Post by Bob Marti » Sun, 05 Nov 2006 19:54:53

Yes, it is guaranteed, and it is documented in the Rexx Reference :

"Note: The first call to DATE or TIME in one clause causes a time stamp to be made that is then used for all calls
to these functions in that clause. Therefore, multiple calls to any of the DATE or TIME functions or both in a
single expression or clause are guaranteed to be consistent with each other."