Skip to main content
Question

Display current month and year on Exact Form

  • May 12, 2017
  • 0 replies
  • 44 views

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:
~=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.
This topic has been closed for replies.

  • Registered
  • May 12, 2017
An option is to make a formula text field, that displays the month / year, and just put that field on the form.