Random date + number macrosRandom date + number macrosRandom date + number macros
If you are using the template editor, I have added 2 new macros for you.
- random date
- random number

I have added a similar random number macro for the Article Creator.

<%-random_date(‘YYYY-MM-DD')%>
You can print the date exactly how you need using a format string. eg YYYY for year MM for month and DD for date.
<%-random_number(‘xx')%>
The xx is a format string.
If you need 4 numbers
<%-random_number(‘xxxx')%>
8 numbers…
<%-random_number(‘xxxxxxxx')%>
etc…