LOTUSSCRIPT LANGUAGE
Sets the system date.
Syntax
Date[$] = dateExpr
Elements
dateExpr
If dateExpr is a string in which the date part contains only numbers and valid date separators, the operating system's international Short Date format determines the order in which the numbers are interpreted as month, day, and year values. The date part of the string must have one of the following forms:
mm-dd-yy or dd-mm-yy mm-dd-yyyy or dd-mm-yyyy mm/dd/yy or dd/mm/yy mm/dd/yyyy or dd/mm/yyyy
If you specify a 2-digit year designation (yy) in Notes or Domino, LotusScript interprets 50 through 99 as the years 1950 through 1999 and 00 through 49 as the years 2000 through 2049. For example, 88 and 1988 are equivalent year designations and 12 and 2012 are equivalent year designations.
If you specify a 2-digit year designation in SmartSuite, LotusScript interprets the years differently. For information on how each SmartSuite product interprets 2-digit year designations, see the online Help entry entitled Year 2000. This entry appears on the Help menu of each SmartSuite product.
This statement is not valid on UNIX or Macintosh OS X operating systems, for which you need to have root user privileges to change the system date.
Example See Also