Get Number of Days

Logic name
Get Number of Days (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic gets the number of days since the beginning of the year which is contained in 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 gets the number of days since the beginning of year based on the date/time in the input data.
Property settings
Property |
Setting |
---|---|
None |
|
Input data
2010-01-01T00:00:00.000+0900 |
2010-03-01T12:00:00.000+0900 |
2012-03-01T12:00:00.000+0900 |
Output data
1 |
60 |
61 |
For a list of logics, refer to Mapper Logic Guide.