Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021
Get year
Logic name
Get year
Function
This logic gets the year from the input date and time.
Data type
|
Location |
Type |
|---|---|
|
First input handler |
Date |
|
Logic output |
Numeric |
Property
|
Category |
Property |
Description |
|---|---|---|
|
Comment |
Comment |
It does not affect the conversion processing. |
Example of logic use
Mapping definition
Logic settings and processing result
This logic gets the year value from the date and time of the input data.
For the date type data to specify for the input data, specify a value that is output from one of the following logics:
-
Current date/time (UTC)
-
Current date/time (OS time zone)
-
Date/Time formatting(Standard format)
-
Date/Time formatting(Custom)
Property settings
|
Property |
Setting Value |
|---|---|
|
None |
Input data
Date type data that represents the following dates and times
|
1983-05-06T07:08:09.0100000+09:00 |
|
1988-10-11T12:13:14.0152435+09:00 |
|
2021-01-02T03:04:05.7427569+09:00 |
Output data
|
1983 |
|
1988 |
|
2021 |
Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021