Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > SDL script for generating code > System variables > sysDate system variable (SDL script)
  
sysDate system variable (SDL script)
The sysDate system variable (a global string) returns the current date, using locale settings for format.
* 
This system variable supersedes the %date% substitution token.
In this example, the sysDate system variable is used to generate the date on which a file is generated.
"// Generated on " %getvar "sysDate" " at " %getvar "sysTime"
\n\n