Set Month

Logic name
Set Month (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic sets the month of the date/time in input data and returns the result.
Data types
Location |
Type |
---|---|
First input handler |
Date |
Second input handler |
Numeric |
Logic output |
Date |
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. |
Notes
-
When non-existing data/time is input or retrieved as the result of the calculation, it is automatically corrected to an actual existing date/time (for example: 2005/04/31 -> 2005/05/01).
Logic sample
Mapping definition

Logic settings and processing result
This logic sets the month to the date/time in input data and outputs the result.
Property settings
Property |
Setting |
---|---|
None |
|
Input data
2007-01-01T01:00:00.000+0900,12 |
2008-02-02T02:00:00.000+0900,1 |
2009-03-03T03:00:00.000+0900,13 |
Output data
2007-12-01T01:00:00.000+0900 |
2008-01-02T02:00:00.000+0900 |
2010-01-03T03:00:00.000+0900 |
For a list of logics, refer to Mapper Logic Guide.