Set Year

Logic name
Set Year (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic sets the year 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. |
Logic sample
Mapping definition

Logic settings and processing result
This logic sets the year 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,2010 |
2008-02-02T02:00:00.000+0900,1 |
2009-03-03T03:00:00.000+0900,2011 |
Output data
2010-01-01T01:00:00.000+0900 |
0001-02-02T02:00:00.000+0900 |
2011-03-03T03:00:00.000+0900 |
For a list of logics, refer to Mapper Logic Guide.