FIND YOUR NEXT FEW LINES
Results for “zone”
Small, practical examples. Search by task or narrow things down below.
28 snippets foundClear filters
Parse a date without a time component
C#: DateOnly avoids attaching an irrelevant time or timezone to a calendar date.
C#✓ Tested
Read date components in UTC
JavaScript: UTC accessors avoid differences caused by the machine’s local timezone.
JavaScript✓ Tested
Read date components in UTC
TypeScript: UTC accessors avoid differences caused by the machine’s local timezone.
TypeScript✓ Tested
Round a timestamp down to its month
Group dates by a calendar boundary.
date_trunc✓ Tested