Set Hour

Set Hour

Logic name

Set Hour (Document Mapper/Variable Mapper/Merge Mapper)

Function

This logic sets the hour 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

= Hint =

Refer to the following for details:

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

Set Hour

Logic settings and processing result

This logic sets the hour 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,23

2008-02-02T02:00:00.000+0900,0

2009-03-03T03:00:00.000+0900,25

Output data

2007-01-01T23:00:00.000+0900

2008-02-02T00:00:00.000+0900

2009-03-04T01:00:00.000+0900

 

= Hint =

For a list of logics, refer to Mapper Logic Guide.