CtoD function

Official Content
This documentation is valid for:

Converts a date-string into a date value.


Ctod(mm/dd/yy | dd/mm/yy | yy/mm/dd)


mm/dd/yy | dd/mm/yy | yy/mm/dd
    Must be a string. It depends on the Date format in CTOD function property.

Type returned:

Note: mm represents the month in 2 digits, dd represents the day in 2 digits and yy represents the year, which can be of 2 or 4 digits. In case 2 digits are used, the year limit is applied (First year of 20th century property)


Objects:  Procedure, Transaction, Web PanelPanel, Data Provider
Generators: .NET, .NET Framework, Java, Apple, Android, Angular


Event Start
    &Date=CtoD('08/21/14')   //The &Date variable is based on the Date data type

See Also

FromString method
DtoC function
YMDtoD function
Date format in CTOD function property