Script functions reference > Script functions in alphabetical order > G > GetDate

GetDate
Syntax
GetDate();
Description
Returns the system date as a string in the format yyyymmdd, where:
yyyy – four digit year, e.g. 2005.
mm – month.
dd – day.
Returns
A string specifying a date in the format yyyymmdd.
Example
$a=getdate();
Result:
$a="20070508"
OpenText StreamServe 5.6 Updated: 2013-03-01