Get Day of the Week

Logic name
Get Day of the Week (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic gets the day of the week from the input date/time.
Data types
Location |
Type |
---|---|
First input handler |
Date |
Logic output |
Numeric |
Refer to the following for details:
-
Logic specifications (Document Mapper/Variable Mapper)
-
Logic specifications (Merge Mapper)
Properties
Category |
Property |
Description |
---|---|---|
Comment |
Comment |
You can write a description of the logic. It doesn't affect the conversion process. |
Function details
The correspondence of the output value and day of the week is as follows:
Numeric |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
---|---|---|---|---|---|---|---|
Day of the week |
Sunday |
Monday |
Tuesday |
Wednesday |
Thursday |
Friday |
Saturday |
Logic sample
Mapping definition

Logic settings and processing result
The logic outputs the numeric character corresponding to day of the week for the date/time in input data.
Property settings
Property |
Setting |
---|---|
None |
|
Input data
1975-05-11T00:00:00.000+0900 |
1982-09-01T00:00:00.000+0900 |
1986-10-17T00:00:00.000+0900 |
Output data
1 |
4 |
6 |
For a list of logics, refer to Mapper Logic Guide.