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

Generate datetime values relative to today

$
0
0

I’m sure this will be possible but I haven’t figured it out yet… is there a way to generate a datetime value within a range relative to today i.e. always within the last 14 days?

I’m currently using the DateTime data type but have to specify a start and end date range, but I always want dates to be within the last two weeks and am trying to avoid having to manually update the range each time I need it.

Any ideas?


Viewing all articles
Browse latest Browse all 2665

Trending Articles