Discussions

Expand all | Collapse all

Display current month and year on Exact Form

  • 1.  Display current month and year on Exact Form

    Posted 05-11-2017 22:06
    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.


  • 2.  RE: Display current month and year on Exact Form

    Posted 05-12-2017 05:12
    An option is to make a formula text field, that displays the month / year, and just put that field on the form.