Skip to main content
?

datetime-add

Summary​

Generates an ISO 8601 datetime by adding an amount of time to a given ISO 8601 datetime

Description​

Takes changes such as summer time/DST into account. Adding just a few seconds to a datetime just before "spring forward" can cause wall time to increase by more than an hour.

Fields​

datetime​

An ISO 8601 datetime.

count​

The amount of time to be added based on the time units. Negative values will move backwards in time.

time_unit​

The time unit to be added: millisecond, microsecond, nanosecond, second