Page 1 of 1

Random Date

Posted: Fri Nov 13, 2020 6:39 am
by Namirred
Hi

Is there a way to randomise the date? I want to pick a date up to 30 days into the future. I have tried {Var1 Random 30}{Date dd/mm/yyyy,Var1} but it just gets ignored.

Thank you in advance

Namirred

Re: Random Date

Posted: Fri Nov 13, 2020 11:11 am
by Wavget
Hi Namirred,

You can randomize the date with the following statement:

{Var1 Random 30}{Date mm/dd/yyyy,{Var1}}

The first part randomizes a value between 1 and 30 and stores it in Variable number 1.

The second part prints the date with the random value added to it.

Hope this helps,
Paul.

Re: Random Date

Posted: Wed Dec 02, 2020 9:04 am
by Namirred
I missed the { }

Sorry for the late response

Many thanks