GETDATETIME SubroutineUsage:
s = GETDATETIME([datetimevalue])
Description:
The GETDATETIME subroutine returns a date and time string value based on the current locale setting. If datetimevalue is not provided then the current date and time are used. The datetimevalue parameter is a numeric value based on either Unix time or Windows file time. Large values are assumed to be Windows file time, smaller values Unix time.
NOTE: The Right(TBSVER,3)="x16" version of TBScript does not support the datetimevalue parameter and will return an empty string.
Example:
|