Converts a date-string into a date value.
Ctod(mm/dd/yy | dd/mm/yy | yy/mm/dd)
Where:
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:
Date
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 Panel, Panel, 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
Endevent
FromString method
DtoC function
YMDtoD function
Date format in CTOD function property