gettoday — get todays date and various relations thereof
use Wacs;
scalar gettoday( | ...); |
| parameter | description |
|---|---|
| format | which format to return date in (DD-MON-YYYYY or
YYYY-MM-DD) - default is native format for the current
database |
| epoch | the actual date to convert in Unix seconds since 1970 format. |
| offset | number of days different from today - assumed to be historial if postive, future if negative - thus yesterday will be 1, a week ago will be 7, tomorrow will be -1. |