PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
| TimeStamp() |
This is an inbuilt function function provided 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:
The GetFileTimeStamp() routine can be used to get a timestamp for a file.
| Example |
#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