DateSplit
Split DateTime value to year, month, day, weekday, hour, minute, second and milli-second.
Input/Output
Number of Connections: 1
| Input | Data Type | Description |
| Input1 | DateTime | Date-time data |
| Output | Data Type | Description |
| Output1 | Integer | Year (Hour when Mode is "Time") |
| Output2 | Integer | Month (Minute when Mode is "Time") |
| Output3 | Integer | Day (Second when Mode is "Time") |
| Output4 | Integer | Weekday (Milli-seconds when Mode is "Time") |
| Output5 | Integer | Hour (None when Mode is not "DateTime") |
| Output6 | Integer | Minute (None when Mode is not "DateTime") |
| Output7 | Integer | Second (None when Mode is not "DateTime") |
| Output8 | Integer | Milli-second (None when Mode is not "DateTime") |
Property
| Name | Property Type | Description |
| Mode | choice |
Specifies how output the data.
| DateTime | - |
Outputs year, month, day, weekday, hour, minute, second and milli-second. (8 values are output)
|
| Date | - |
Outputs year, month, day and weekday. (4 values are output)
|
| Time | - |
Outputs hour, minute, second and milli-second. (4 values are output)
|
|
| TimeZone | choice | Specifies the time zone.
- System Timezone [(default)]
-
The system's default time zone is used.
- (GMT) [(GMT)]
-
Greenwich Mean Time is used.
|
| WeekDay | choice |
Specifies the format of weekday.
| num | - |
Output as a number. (Sunday is 1)
|
| EN | - |
Output as a English expression. (Sunday, Monday, ...)
|
| en | - |
Output as a English expression of 3 letters. (Sun, Mon, ...)
|
| jp | - |
Output as a Japanese expression of 1 letter. (日, 月, ...)
|
|
Topic
- Though this function has a multiple output, all output don't need to be linked. For example, if you need the value of year, you may link only Output1 and leave another output not to be linked.