Datetime
Last updated
Was this helpful?
Last updated
Was this helpful?
Below is a list of available datetime mockers.
Generates a random datetime object between two specified date objects, from year until days.
Start date
: The start date for the generation range (Format: %d/%m/%Y
).
End date
: The end date for the generation range (Format: %d/%m/%Y
).
Consistent mapping
: Date supports .
If you configure:
The results will be:
Generates a date of birth which is a datetime object.
If you configure:
The results will be:
Generates a random datetime object between two specified datetime objects, from year until seconds.
Start date
: The start date for the generation range. (Format: %d/%m/%Y %H:%M:%S
)
End date
: The end date for the generation range.
If you configure:
The results will be:
Generates a series of datetime values at regular intervals based on a specified time unit and step size.
Start date
: The starting date or datetime for the series.
Time unit
: The unit of time for the step increment ("day"
, "week"
, "month"
, "year"
).
Number
: The number of units to step forward per iteration.
If you configure:
The results will be:
Generates a future datetime object, always after the current day.
If you configure:
The results will be:
Consistent mapping
: Date supports .
Consistent mapping
: Date/Time supports .
Consistent mapping
: Future date supports .