- Created by SS Doc Editor, last modified on Feb 17, 2025

The DateTime data generator is a versatile data generator that has multiple date-time options and several format choices.
Date-time options
The Date-time option property controls what date-time will be returned by the data generator.
Random
Select the Random value to return a date-time between the Min and Max value properties. For example, a date-time between 1/1/2020 and 1/1/2030

Current date-time
The following values return the current date-time
- Select the Current local date-time value to return the current date-time in the local timezone.
- Select the Current UTC date-time value to return the current date-time in the UTC (GMT) timezone.
To return a date-time in the future (or the past):
- Set the Date/time offset unit property for the desired unit to offset the time.
Available units
The available offset units are: Day, Month, Year, Hour, Minute, Second
- Set the Day/time offset property to return the number of units in the future or past from the current date and time.

SequentialGenerate sequential date/time starting from the Min value. Reaching max value
|
|
Date-time format
The generated date-time is formatted before it is returned. The Date-time format property controls the formatting options.
Formatted
Select the Formatted value to format the returned date-time according to the Format string property.
Format string
Unix time
Select the following values to format the returned date-time in Unix (Epoch) time.
- Select the Unix time in milliseconds value to return the number of milliseconds between the returned date-time and January 1, 1970.
- Select the Unix time in seconds value to return the number of seconds between the returned date-time and January 1, 1970.

- No labels





