currentDate translation Mar 28, 2024 By Ben Thompson Is it possible to display a translation of the currentDate variable? Or perhaps just present it in all numerical format rather than use the name of the current month?
Phil Mayor Hero 1 month ago03/28/24 at 3:36 pm (UTC) there isn't a date variable built into Storyline do you have some javascript that is populating the date? This may help https://www.w3schools.com/js/js_date_formats.asp
Jürgen Schoenemeyer 1 month ago03/28/24 at 4:26 pm (UTC) here is an example with Javascript Intl.DateTimeFormat https://community.articulate.com/discussions/articulate-storyline/how-to-insert-current-date-variable-into-a-customised-certificate-slide?page=2#reply-867923 change 'en-us' to the language you want
2 Replies
there isn't a date variable built into Storyline do you have some javascript that is populating the date? This may help
https://www.w3schools.com/js/js_date_formats.asp
here is an example with Javascript Intl.DateTimeFormat
https://community.articulate.com/discussions/articulate-storyline/how-to-insert-current-date-variable-into-a-customised-certificate-slide?page=2#reply-867923
change 'en-us' to the language you want