How to retrieve each part of the Date Time fields separately?

  • Profile Image
    securenetwork
    Asked on January 16, 2017 at 10:30 AM

    Hello,

    So I wanted to know what are the form fields for each of the "date+time" fields. That way I can add specific pieces to confirmation emails sent to people who fill out the form. Example, if I want to send just the "year, hour, and minute" fields to a client in a email. See attached.

     

    Thanks

  • Profile Image
    AIDAN
    Answered on January 16, 2017 at 11:55 AM

    Hi, thank you for contacting us.

    Here are the tags that you can use to retrieve any part of the date time field:

    {date:month} {date:day} {date:year} {date:hour} {date:min} {date:ampm}

    I also created a demonstration form where I added a date time field, then altered the thank you page to show what we picked, field by field, in case you would like to clone ithttps://form.jotform.com/70154283980963

    Please note that what applies for the thank you page, in terms of tags, applies to the email notifications too. I just opted for the thank you page because it can be seen immediately after submit, without needing any emails.

    If you have more questions or need further assistance, please let us know. Thank you.