Generate datetime
Generates a datetime value
Evaluation
This expression evaluates to a function of the form:
(seed) -> any
The function is consistent with generator semantics of the Random Data step.
Processing
Given a seed value, the function returns a pseudo-random datetime value consistent with the specified settings.
Settings
Name |
Type |
Description |
Start |
datetime |
Lowest possible value generated. |
End |
datetime |
Generator returns values up to, but not including, this value. |
Resolution |
string |
Resolution of generated values.
day - time is always set to 00:00:00
hour - hours are randomized, minutes and seconds are always set to 00:00
minute - hours and minutes are randomized, seconds are always set to 00
second - hours, minutes, and seconds are all randomized
|
Distribution |
string |
Distribution of generated values.
Available options are:
uniform all possible values are generated with about the same probability
prefer start values at the start of the specified range are generated more frequently
prefer middle values in the middle of the specified range are generated more frequently
prefer end values at the end of the specified range are generated more frequently
strongly prefer start values at the start of the specified range are generated much more frequently
strongly prefer middle values in the middle of the specified range are generated much more frequently
strongly prefer end values at the end of the specified range are generated much more frequently
|
Chance of nil |
double |
Probability in range of 0.0 to 1.0 that the generator will return nil instead of generating a value. |