Calculate Age

Logic name
Calculate Age (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic returns the age according to 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. |
Logic sample
Mapping definition

Logic settings and processing result
The logic calculates the age from the date/time in the input data.
Property settings
Property |
Setting |
---|---|
None |
|
Input data
1975-05-11T00:00:00.000+0900 |
1983-09-01T00:00:00.000+0900 |
1988-10-17T00:00:00.000+0900 |
Output data
35 |
26 |
21 |
For a list of logics, refer to Mapper Logic Guide.