How to change date format in subject line of email notifications

  • simplifydesign
    Asked on April 11, 2016 at 10:09 PM

    I have a date picker as a question in my form and want to put that date in my subject line; however, I would like that date to be in a friendlier format like "Tuesday, April 12". Is it possible to change the date format to show this rather than the 04/12/2016? Please let me know. Thanks,

  • Boris
    Replied on April 12, 2016 at 2:35 AM

    I believe you are working on your form 60995205336257, named  Creative Brief Submission. On this form, your date time field has the following name tag:

    {dueDate}

    Can you please try using the following tag instead:

    {dueDate:Date-US}

    This should result in your date output coming out as "April 12, 2016". You can read more about formatting the output of dates in your emails in the following guide:

    https://www.jotform.com/help/68-Using-Dates-in-Email-Templates

    Please let us know how it goes.

  • simplifydesign
    Replied on April 12, 2016 at 11:22 AM

    Works great! Thanks. Love that I can use the standard PHP date