Change the Date Format in the response email

  • Profile Image
    MikeinCalgary
    Asked on November 20, 2016 at 05:17 PM

    Hi

     

    I would like to change the date format in the response email from 2016-11-23 to 23 Nov 2016. I included the response format for the date of birth as an example.

     

    How would I do that?

  • Profile Image
    liyam
    Answered on November 20, 2016 at 08:21 PM

    Hello,

    For formatting a date on your email alert, you can use the way on how PHP format dates. Just have the date variable text followed by a : and then the PHP date format, all enclosed within { and }  So on your case, you can do this:

    {dateOf75: d M Y}

    You can also check this page for more information on date formatting using PHP: http://php.net/manual/en/function.date.php#function.date

    If you have questions, please let us know.