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 > Substitution tokens > %date% substitution token (SDL script)
  
%date% substitution token (SDL script)
ImportantWe recommend that you do not use this substitution token, because it has been superseded by the sysDate system variable. Using this substitution token results in a warning being generated. For more information about the sysDate system variable, see sysDate system variable (SDL script).
This substitution token is replaced with the current date, using your locale settings for format.
Example
The following text is included in the SDL script.
"Generated on " %date%
When processed, the following text (for example) is generated.
Generated on Thursday, April 26, 2001
The text shown in red is generated by the %date% substitution token.