Zoomed Image

AMSX Scripting Language - Command : FormatDate

Summary

Format a date variable to a string using a named format

Description

Retrieves the date stored in the named variable and converts it to a formatted string using the specified format code and the configured time zone. The result is placed in the result buffer.

Parameters

ParameterDescription
cmdvariable name containing the date to format
Argument 0format

Syntax


FormatDate "variable name containing the date to format", "format"

Return to the AMSX Command Reference