Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Date & Time Data

Generate dates, times, and timestamps.

Timestamps

datetime / iso8601_datetime

Generates an ISO 8601 formatted datetime:

{"fake": ["datetime"]}
{"fake": ["iso8601_datetime"]}

Date

date

Generates a date with optional format:

{"fake": ["date"]}
{"fake": ["date", format]}

Default format is %Y-%m-%d.

Common Date Formats

FormatExample
%Y-%m-%d2024-01-15
%m/%d/%Y01/15/2024
%d.%m.%Y15.01.2024
%B %d, %YJanuary 15, 2024
%Y%m%d20240115

Time

time

Generates a time in HH:MM:SS format:

{"fake": ["time"]}

Month

month_name

Generates a random month name:

{"fake": ["month_name"]}

Complete Examples

Event

Audit Log

Schedule