Zoomed Image

AMSX Scripting Language - Command : CDate

Summary

Parse a string and convert it to an xAssets date

Description

Converts a string value to an xAssets date object using the configured receive date formats and time zone. The result is stored as a DateType variable, which can then be formatted with FormatDate.

Parameters

ParameterDescription
cmdstring to convert
Argument 0format

Syntax


CDate "string to convert", "format"

Return to the AMSX Command Reference