PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
This is a rexx function provided by
PPWIZARD.
This routine (like all PPWIZARD extensions) can be used with any operating system supported by PPWIZARD.
This routine returns a string of the form
"YYYYMMDDHHMMSS" which represents a time.
If no parameters are passed then the current time is returned.
Parameters are:
- A time offset. This parameter is optional.
This is made up of space separated words such as "2w 3d 7h 1"
which represents a time offset (in this case 2 weeks, 3 days,
7 hours and 1 second). This is added to the current or supplied
time.
- If it is not blank then this is a valid timestamp to be used
as the base time rather than the current time.
#DefineRexx ''
call say 'CURRENT TIME'
call say '~~~~~~~~~~~~'
call say '####### NOW = ' || TimeStamp();
call say '####### + 1 = ' || TimeStamp(1);
call say '####### + 1day = ' || TimeStamp('1d');
call say '####### + 1d1s = ' || TimeStamp('1s 1d');
call say '19991112100000'
call say '~~~~~~~~~~~~~~'
call say '####### SUPPLIED= ' || TimeStamp(, "19991112100000");
call say '####### + 1 = ' || TimeStamp(1, "19991112100000");
#DefineRexx
PPWIZARD Manual

Thursday January 17 2002 at 6:27pm