FIND YOUR NEXT FEW LINES
The snippet library.
Small, practical examples. Search by task or narrow things down below.
5 snippets foundClear filters
Add days to a date
Use a date modifier for calendar arithmetic.
date✓ Tested
Calculate whole days between dates
Subtract Julian day values for date-only inputs.
julianday✓ Tested
Convert Unix time to a timestamp
Interpret a seconds-since-epoch value as UTC.
unixepoch✓ Tested
Find the first day of a month
Round a date to its calendar month boundary.
date✓ Tested
Format a timestamp
Extract a year and month from ISO timestamp text.
strftime✓ Tested