====== Tomas Fott ====== wrote 2006-10-29 09:56:
There is still a small(er) chance that the date changes between the
resolution of the Date() function and the resolution of the Time()
function. (AFAIK)
Haven't found a really "clean" solution to this problem. Anyone ?
Thomas Berg
Read the manual: TSO/E REXX Reference.
... 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.
So you can get consistent date and time by
datetime=date() time()
or
parse value date() time() with ...
Tomas
Missed that!
So here we have the solution.
Thomas
--
__________________________
Mundus Vult Decipi
__________________________
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
- Benjamin Franklin
Military justice is to justice what military music is to music.
- Groucho Marx
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html