Forum Discussion
SteveMarlow-0fc
2 years agoCommunity Member
Javascript variable / Current Date
Hello, Can someone give me the javascript to display the current date by using a variable? It is similar to the below javascript but I need it to display the date numerically like "06/20/2023" v...
JoeDey-e8a30180
Community Member
Hi Tina, try the attached to see if that helps you.
Edit: I have deleted the old template and replaced with the updated template below.
MaureenMatsumot
6 months agoCommunity Member
Hi Joe,
Thank you for the storytemplate above. I used it and it works, however, I am unable to get a zero to appear in front of the two-digit month. Is there something I am missing? For example, today's date must appear as 05/19/2024 and it shows 5/19/2024.
Thanks for your help!
Maureen