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
![random date](https://seocontentmachine.com/wp-content/uploads/2023/07/image-37.png)
I have added a similar random number macro for the Article Creator.
![image 39](https://seocontentmachine.com/wp-content/uploads/2023/07/image-39.png)
<%-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…