Axure calculates wrong date


#1

Hi
I wanna output the current Date.
I use this formula:
[[Now.getDayOfWeek().slice(0, 2)]], [[Now.getDay()]].[[Now.getMonth()]].[[Now.getFullYear()]] Test

The output is:
image

But today is Saturday the 3th, not the 6th.

Does anybody have an idea what I do wrong?

Kind regards
Alain


#2

Using [[Now.getDate()]] instead of [[Now.getDay()]] does solve the problem.
(Source: Axure not displaying the current day from [[Now.getDay()]])

Behind “now.getDay” I expect the current day of the month.
Behind “now.getDate” I expect a full date like dd.mm.yyyy and not just the day of the month.
I think the terminology could be a little improved here :wink:


closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.