📅

Date & Time

Date, time, and timestamp formatting templates

15 templates

ISO 8601 Date Format

Standard YYYY-MM-DD date format for international compatibility.

2 examples 2 code snippets

ISO 8601 DateTime (UTC)

Complete ISO 8601 timestamp with Zulu (UTC) designation.

2 examples 2 code snippets

Unix Timestamp (Epoch)

The number of seconds that have elapsed since January 1, 1970 (UTC).

2 examples 2 code snippets

RFC 2822 (Email Date)

Date format used in email headers and HTTP responses.

1 examples 2 code snippets

Relative Time Patterns

Human-readable relative time strings like "2 hours ago".

3 examples 1 code snippets

ISO 8601 Duration

Representing a length of time (duration) using ISO 8601.

3 examples 1 code snippets

Cron to Human Readable

Common cron expressions with their human-friendly equivalents.

3 examples 1 code snippets

Business Days (Mon-Fri)

Calculating dates and differences excluding weekends.

2 examples 1 code snippets

Exact Age Calculation

Patterns for calculating age based on birthdate and current date.

2 examples 1 code snippets

Time Zone Abbreviations

Common timezone codes and their offsets from UTC.

4 examples 1 code snippets

Daylight Saving Patterns

When and how clocks change for summer/winter time.

2 examples 1 code snippets

Date Range Formatting

Clean ways to display start and end dates/times.

3 examples 1 code snippets

Calendar Week (ISO)

How to calculate the current week number (1-53).

2 examples 1 code snippets

Fiscal Quarter Ranges

Defining financial periods Q1, Q2, Q3, and Q4.

4 examples 1 code snippets

RFC 3339 Date Standard

A profile of ISO 8601 used for internet protocols.

2 examples 1 code snippets