Email template code for datepicker

shd 29 Mar, 2012
Hi Bob,

Maybe a stupid question, but I can't find it in the forum so far.

But what is de code for the date picker in the e-mail template.
Now is standing: {input_datetime_9} and gives in the email: 2012-03-29

I want the same format as I used for the form (added in Date Time Picker config) and that is: format: 'l d F Y' and I want this also in the email. Because it is now very confusing.

regards,
Stephanie
GreyHead 30 Mar, 2012
Hi Stephanie,

The datapicker has two format settings, one for the display and the other for the input and output data. This makes sense because often you want to display in a human friendly format and save in a computer friendly format.

See this post for more information.


Bob
shd 02 Apr, 2012
I use now inputOutputFormat: 'l d F Y' and format: 'l d F Y' and that works correct in my email.

Tnx again Bob
This topic is locked and no more replies can be posted.