Why are my PHP time formats not working

  • Profile Image
    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.png

  • Profile Image
    Mike_G
    Answered 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.png

    Result:

    1535302624t12_56_35.png

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

  • Profile Image
    AgilityAssoc.Canada
    Answered on August 26, 2018 at 02:18 PM

    Hi,

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

    Regards, Robert