Hi,
I’d like a text widget to display the genDate in a custom format. My function reads;
[[GenDate.getMonthName()]] [[GenDate.getDay()]], [[GenDate.getFullYear()]]
However [[GenDate.getDay()]] always just returns “1”.
Is this a bug?
Cheers
Hi,
I’d like a text widget to display the genDate in a custom format. My function reads;
[[GenDate.getMonthName()]] [[GenDate.getDay()]], [[GenDate.getFullYear()]]
However [[GenDate.getDay()]] always just returns “1”.
Is this a bug?
Cheers
No, I believe that’s correct. There a different function that returns that name of the day instead of its index in the week.
In the expression editor there’s a variables and functions dropdown. Find the Date section in there and look for it. I can’t remember the name, and I’ll not at my computer, but it’s something like getFullDayOfWeek or similar.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.