xod/datetime@0.37.3

License: AGPL-3.0

Date and timestamp operations
NodeDescription
add-seconds
Adds seconds to a datetime
am-pm
Changes format of hours from 24-hours to 12-hours
datetime
Constructs a datetime value from a year, month, day, hour, minute, and second
diff-seconds
Calculates the difference between two datetimes in seconds
format-timestamp
Transforms a datetime into a string timestamp in the form "2018-03-25 23:35:04"
from-posix
Constructs a datetime value from a POSIX time format represented as 4 bytes.
to-posix
Transforms a datetime into a POSIX time format represented as 4 bytes.
unpack-datetime
Destructs a datetime value into a year, month, day, weekday, hour, minute, and second