Can anyone tell me why Axure cannot display the current day using the [[Now.getDay()]] function?
Here is the super mini prototype and screenshots.
Thanks!
~ Meredith
Can anyone tell me why Axure cannot display the current day using the [[Now.getDay()]] function?
Here is the super mini prototype and screenshots.
Thanks!
~ Meredith
Hi Meredith!
It looks like [[Now.getDay()]] gets the value of the day of the week, rather than the date of the day:
I tested out using [[Now.getDate()]] instead and was able to generate a date of “14”, instead of a “5” for Friday.
I hope this helps!
To chime in: the .getDay(), .getDate(), .getYear(), etc. are all methods of vanilla JavaScript’s new Date() class. If your searches for Axure help are fruitless, try searching for JS stuff! Since AxureScript is basically JQuery which is basically JavaScript, pretty much all the JS bells and whistles are available to you
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.