Convert a date from one format to another. (Deprecated Command)
ConvertDate <ScenarioPath> {InputFormat} {OutputFormat} "<DateTime>"
Note: This command was deprecated in STK 10.1, it should no longer be used. This command has been replaced by the Units_Convert command.
The ConvertDate command allows you to convert a date from one format to another format. This doesn't affect the current date format set at the scenario level. "<DateTime>" is the date to be converted. {InputFormat} and {OutputFormat} can be (these values are case-insensitive):
Note: Some conversions may Nack due to limitations of the various date formats. For example, the Julian local date is generally restricted to the years between 1950 and 2050.
To perform a quick conversion from epoch seconds to Gregorian UTC:
ConvertDate * EPOCHSEC GREGUTC "12300.0"
CONVERTDATE 22
1 Jan 2000 03:25:00.00
This command belongs to the following group(s):
10.1
STK Programming Interface 11.0.1