Why are my PHP time formats not working

  • AgilityAssoc.Canada
    Asked on August 26, 2018 at 11:20 AM

    Hi,

    I am testing out options for displaying the date and time for submitted forms on 52745887899988.

    On my Notifier I have four formats, one is the default and the 3 others are PHP formats that I tried. According to your documentation this can be done. 

    The defaue is {DATE}, worked then I added formatting options;

    {DATE, F j, Y g:i A}, {DATE, M j, Y H:i :s} and {DATE, M J Y } and none of these worked.

    Can you please help with this.

    Best, Robert

    1535296781php time Screenshot 10

  • Mike_G JotForm Support
    Replied on August 26, 2018 at 12:57 PM

    We would like to apologize for any confusion.

    I believe you are referring to this documentation (guide) — Add-a-Date-on-Email-Notification

    As for the correct date format, please see the details below.

    Date/Time: {DATE:F j, Y g:i A}

    Submit Date/Time: {DATE:M j, Y H:i A}

    Submitted On: {DATE:M j Y}

    1535302428t12 53 27 Screenshot 10

    Result:

    1535302624t12 56 35 Screenshot 21

    I hope this helps. If you have other questions or concerns, please feel free to let us know.

  • AgilityAssoc.Canada
    Replied on August 26, 2018 at 2:18 PM

    Hi,

    Ah!... a colon...Thank you.

    Regards, Robert