Forum Discussion
How to insert current date variable into a "customised certificate slide".
I have the same problem right now. I hope there was an answer for this.
Thank you, Chat GPT. Here is the javascript for showing the date three days in the future.
var m_names = new Array("January", "February", "March",
"April", "May", "June", "July", "August", "September",
"October", "November", "December");
var today = new Date();
today.setDate(today.getDate() + 3); // Add three days
var dd = today.getDate();
var mm = today.getMonth();
var yyyy = today.getFullYear();
if (dd < 10) { dd = '0' + dd; }
var date = m_names[mm] + ' ' + dd + ', ' + yyyy;var player = GetPlayer();
player.SetVar("SystemDate", date);
- StevenBenassi2 years agoStaff
Hi Duane!
I just wanted to pop in and share that since this discussion is a bit older, Lara may no longer be subscribed.
If you want to reach out to them directly, you can do so by clicking on their name and selecting the 'Contact Me' button.
Have a great rest of your week!