MidavaloMidaval
7 years agoQrew Member
Display current month and year on Exact Form
We have an Exact form, which is working well, but wish to add the current month and year onto the form. This is the current date, not stored in a field.
So for this month I'd like it to say "May 2017" and next month automatically "June 2017".
I found some code in the Exact Form docs that prints the current date:
Thanks.
So for this month I'd like it to say "May 2017" and next month automatically "June 2017".
I found some code in the Exact Form docs that prints the current date:
~=date = new Date();qdb.format(date.getTime()-(date.getTimezoneOffset()*60000), "date friendly")~But I'm unsure how to modify this code to not display the days, just the month and year. Is this possible?
Thanks.