Search
📅

Datetime

This document describes the processing of date and time data using the Util - Datetime block.
Index

Datetime Block

Manage date and time data.

1) Datetime

Declare the current date or the date set by the user as an object.
If you enter now in time, the current date, a specific date in the form YYYY-mm-dd.
Use as a date object in combination with other blocks in datetime.
Example of using a block

2) Datetime Timestamp Index

The time entered is returned to the Unix Timestamp format.
Example of using a block

3) Datetime Add

Use to increment a value (interval) on a specific date (datetime).
Interval adds Year, Month, Day, Hour, Minute, Second as an integer
Click the button to add or delete interval values
Since a value is added to a Datetime object, it must be formatted with a Datetime Format block, etc.
Example of using a block

4) Datetime Subtract

Subtract a value (interval) on a specific datetime.
Interval adds Year, Month, Day, Hour, Minute, Second as an integer
Click the button to add or delete interval values.
Since a value is added to a Datetime object, it must be formatted with a Datetime Format block, etc.
Example of using a block

5) Datetime Format

Use to format the expression of the date.
Example of using a block
Please refer to the following link for Datetime Formatting.

6) Datetime Diff

Calculate the time difference between datetime1 and datetime2.
Since this is an operation of a Datetime object, you must format the result with a Datetime Format-Diff block.

7) Datetime Format-Diff

Use to format the result value of the Datetime Diff block.
Example of using a block

8) Datetime Offset

Get the offset of the current time (datetime) relative to Coordinated Universal Time (UTC).
Example of using a block
Korea Standard Time is UTC+9, which is 32,400 seconds (9 hours) different from UTC.