datetime Tools
add_subtract
Add or subtract a given amount of time from a date and return the resulting ISO 8601 date.
date
add
subtract
business_days
Count business days (weekdays) between two dates
date
business
weekdays
convert_timezone
Convert a date/time between timezones
date
timezone
convert
cron_next
Get the next N run times for a cron expression
cron
schedule
next
difference
Calculate the time difference between two dates in the chosen unit.
date
difference
delta
format
Reformat a date/time to a given strftime pattern
date
format
strftime
humanize
Convert a datetime to a relative human-readable string like '3 hours ago' or 'in 2 days'
datetime
humanize
relative
parse
Parse any date string and return ISO 8601
date
parse
iso8601
unix_timestamp
Convert a date string to a Unix timestamp, or a Unix timestamp to an ISO 8601 date string.
date
unix
timestamp
ics_generate
Generate an ICS calendar event from structured input
ics
calendar
event
scheduling
ics_parse
Parse an ICS calendar string into structured JSON events
ics
calendar
parse
event
working_hours_clamp
Clamp a datetime to the nearest working hour (Mon-Fri, configurable start/end)
business
scheduling
sla
working-hours