Quantcast
Channel: Mockaroo Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 2665

Random date in YYYYMMDD

$
0
0

The supported date formats do not include the old school YYYYMMDD format.

Turns out you can do this in ruby in the formula editor:

(now() - days(random(0,5000))).strftime('%Y%m%d')

This will give you ~15 years of random dates.


Viewing all articles
Browse latest Browse all 2665

Trending Articles