Zen Follower
- Join Date:
- Mar 2005
- Posts:
- 229
- Plugin Contributions:
- 0
How to show time in dates?
Hello,
Long time ago I made a custom functions_email.php. This is great but now I need to show the time in the orders date.
I found the place where it is, in my line 516 I find :
zen_date_long($order_check->fields['date_purchased'])
the result in the mail is "Thursday 25 August, 2011"
I'd like it to be "Thursday 25 August, 2011, 15:16:17"
If I go to see date_purchased in phpMyAfmin I see that the time is here in the date_purchased field but I don't know how to get it.
What do I need to modify to get this in this file and only in this file ?
Do I need to replace zen_date_long by another function ? If so which one ?
Do I need to build a custom function so that the time is shown only in this case (if so I really need help) ?
Thanks for reading and your help.
Regards
Hubert