Text Field Format Description

When using an update column (ToDate), you must specify a text field that contains time information. In order to get the correct conversion result, the format of the text in the field needs to follow certain rules.

Date and time format specifier

The time information contained in the text has a certain range limit, and if it exceeds the specified range, the correct update result will not be obtained.

Format specifier
Format type
Remark
yyyy
Four-digit year
None
MM
Double digit month
Range: 01-12 (01 = 1 month)
M
Single digit month
None
dd
Double digit days
Range: 01-31
d
Single digit day
None
hh
Double Digit Hours
Range: 01-24. AM and PM may be used after the time to distinguish between the morning and afternoon hours. For example, 10:05: 29PM will be updated to 22:05:29.
mm
Double Digit Minutes
Range: 00-59
ss
Double Digit Second
Range: 00-59
T
Time Separator
Use to concatenate date and time values

Text format

Common text formats and situations requiring attention are described as follows:

  • There is Separator

The supported Separators are (space), (comma), (/), (\), (-), (:); and the Separator in the middle may not be the same type.

Text format
Support status
Remarks
yyyySeparatorMMSeparatorddSeparatorhhSeparatormmSeparatorss
Year, month, day, hour, minute and second can be missing from right to left, but the middle can not be missing, such as year, month, hour, minute and second can not be identified.
MMSeparatorddSeparatorhhSeparatormmSeparatorss
The year can be missing. No year will be updated to the current year by default
yyyySeparatorMSeparatord
For example, 2023-9-1 is converted to 2023/09/01.
yyyySeparatorMSeparator
For years and single digit months only, the date is updated to yyyy/0M/01.
ddSeparatorMMSeparatoryyyy
When Separator is available, the input of year, month and day in reverse order is supported.
  • No Separator
Text format
Support status
Remark
yyyyMMddhhmmss
Year, month, day, hour, minute and second can be missing from right to left, but the middle can not be missing, such as year, month, hour, minute and second can not be identified.
MMddThhmmss
If there is no Separator and the year is missing, you need to use "T" to concatenate the date and time, otherwise it will not be recognized correctly.
yyyyMd
×
Single-digit month and single-digit day recognition is not supported without a separator.
yyyyM
Only years and single digit months, the date is updated to yyyy/0M/01.
ddMMyyyy
×
Input of year, month and day in reverse order is not supported without Separator

Related topics

Update Column (ToDate)