[Skip to main content](#vessel-content)

#   date format in order creation notification email

##

- **[kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")**
- [![kattenzorg's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38616-kattenzorg "View kattenzorg's Profile") Topic Author
- [ Offline](/forum/user/38616-kattenzorg)

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 1 month ago -  11 years 1 month ago [\#214399](#214399) by [kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")  *[date format in order creation notification email](/forum/35-orders-management/879312-date-format-in-order-creation-notification-email#214399 "-- HikaShop version -- : HikaShop Business: 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.2.11  In the order creation email, my order comes in with the message (sorry... in Dutch): Bedankt voor van uw bestelling met Nr. C6Z8 via   www.kattenzorg-denhaag.nl/joomla2/  op 2015-09-16 om 14:06  As you can see the date format is not exactly user-friendly. I'd really rather &quot;16 september 2015&quot; (in Dutch) In the preloaded on line 96 is the following: hikashop&#95;getDate(time(),'%d %B %Y') As you can see that is not what is showing up in the email, and any other format change I make is also not working (eg. %l %d %F %Y). I've edited the preloaded for a number of other changes I wanted to implement and they've worked fine.  Oh, and one other question: Can I remove the telephone number from the user information in the order creation email? I still want users to enter their number when registering, I just don't want it in the email.  Please advise. Thanks in advance.")* was created by *[kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")*

-- HikaShop version -- : HikaShop Business: 2.5.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.2.11

In the order creation email, my order comes in with the message (sorry... in Dutch):
Bedankt voor van uw bestelling met Nr. C6Z8 via [ www.kattenzorg-denhaag.nl/joomla2/](http://www.kattenzorg-denhaag.nl/joomla2/) op 2015-09-16 om 14:06

As you can see the date format is not exactly user-friendly. I'd really rather "16 september 2015" (in Dutch)
In the preloaded on line 96 is the following:
hikashop_getDate(time(),'%d %B %Y')
As you can see that is not what is showing up in the email, and any other format change I make is also not working (eg. %l %d %F %Y).
I've edited the preloaded for a number of other changes I wanted to implement and they've worked fine.

Oh, and one other question: Can I remove the telephone number from the user information in the order creation email? I still want users to enter their number when registering, I just don't want it in the email.

Please advise. Thanks in advance.

Last edit: 11 years 1 month ago by [kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile"). Reason: added question

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTMxMi1kYXRlLWZvcm1hdC1pbi1vcmRlci1jcmVhdGlvbi1ub3RpZmljYXRpb24tZW1haWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 1 month ago [\#214411](#214411) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[date format in order creation notification email](/forum/35-orders-management/879312-date-format-in-order-creation-notification-email#214411 "-- HikaShop version -- : HikaShop Business: 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.2.11  In the order creation email, my order comes in with the message (sorry... in Dutch): Bedankt voor van uw bestelling met Nr. C6Z8 via   www.kattenzorg-denhaag.nl/joomla2/  op 2015-09-16 om 14:06  As you can see the date format is not exactly user-friendly. I'd really rather &quot;16 september 2015&quot; (in Dutch) In the preloaded on line 96 is the following: hikashop&#95;getDate(time(),'%d %B %Y') As you can see that is not what is showing up in the email, and any other format change I make is also not working (eg. %l %d %F %Y). I've edited the preloaded for a number of other changes I wanted to implement and they've worked fine.  Oh, and one other question: Can I remove the telephone number from the user information in the order creation email? I still want users to enter their number when registering, I just don't want it in the email.  Please advise. Thanks in advance.")*

Hi,

The format can be modified with a translation override of these translation keys:
HIKASHOP_DATE_FORMAT="%Y-%m-%d"
HIKASHOP_EXTENDED_DATE_FORMAT="%Y-%m-%d %H:%M"

[ hikashop.com/download/languages.html#modify](https://hikashop.com/download/languages.html#modify)
If you want to remove the phone number, you can edit the file "address_template" for both your frontend and your backend template via the menu Display&gt;Views and remove the corresponding tag.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTMxMi1kYXRlLWZvcm1hdC1pbi1vcmRlci1jcmVhdGlvbi1ub3RpZmljYXRpb24tZW1haWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")**
- [![kattenzorg's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38616-kattenzorg "View kattenzorg's Profile") Topic Author
- [ Offline](/forum/user/38616-kattenzorg)

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 1 month ago [\#214762](#214762) by [kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")  Replied by *[kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")* on topic *[date format in order creation notification email](/forum/35-orders-management/879312-date-format-in-order-creation-notification-email#214762 "-- HikaShop version -- : HikaShop Business: 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.2.11  In the order creation email, my order comes in with the message (sorry... in Dutch): Bedankt voor van uw bestelling met Nr. C6Z8 via   www.kattenzorg-denhaag.nl/joomla2/  op 2015-09-16 om 14:06  As you can see the date format is not exactly user-friendly. I'd really rather &quot;16 september 2015&quot; (in Dutch) In the preloaded on line 96 is the following: hikashop&#95;getDate(time(),'%d %B %Y') As you can see that is not what is showing up in the email, and any other format change I make is also not working (eg. %l %d %F %Y). I've edited the preloaded for a number of other changes I wanted to implement and they've worked fine.  Oh, and one other question: Can I remove the telephone number from the user information in the order creation email? I still want users to enter their number when registering, I just don't want it in the email.  Please advise. Thanks in advance.")*

That worked. Excellent.
Thank you so much.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTMxMi1kYXRlLWZvcm1hdC1pbi1vcmRlci1jcmVhdGlvbi1ub3RpZmljYXRpb24tZW1haWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")**
- [![kattenzorg's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38616-kattenzorg "View kattenzorg's Profile") Topic Author
- [ Offline](/forum/user/38616-kattenzorg)

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 4 weeks ago [\#215473](#215473) by [kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")  Replied by *[kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")* on topic *[date format in order creation notification email](/forum/35-orders-management/879312-date-format-in-order-creation-notification-email#215473 "-- HikaShop version -- : HikaShop Business: 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.2.11  In the order creation email, my order comes in with the message (sorry... in Dutch): Bedankt voor van uw bestelling met Nr. C6Z8 via   www.kattenzorg-denhaag.nl/joomla2/  op 2015-09-16 om 14:06  As you can see the date format is not exactly user-friendly. I'd really rather &quot;16 september 2015&quot; (in Dutch) In the preloaded on line 96 is the following: hikashop&#95;getDate(time(),'%d %B %Y') As you can see that is not what is showing up in the email, and any other format change I make is also not working (eg. %l %d %F %Y). I've edited the preloaded for a number of other changes I wanted to implement and they've worked fine.  Oh, and one other question: Can I remove the telephone number from the user information in the order creation email? I still want users to enter their number when registering, I just don't want it in the email.  Please advise. Thanks in advance.")*

Actually, I'm afraid to say I was a little quick in responding saying it was all fine. ![:(](/media/kunena/emoticons/5.png ":(")

As far as the date format is concerned, when I change the language file: to :
HIKASHOP_EXTENDED_DATE_FORMAT="%d %m %Y %H:%M"
I get the expected: 27 09 2015 om 14:54 (its in Dutch)

However when I change the month format to :
HIKASHOP_EXTENDED_DATE_FORMAT="%d %F %Y %H:%M"
I get: 27 %september 2015 om 14:55
Note the extra percentage sign before the month (lack of capital for the start of the month name is normal in Dutch - its just the extra % that needs to go).

Any ideas?? Thanks again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTMxMi1kYXRlLWZvcm1hdC1pbi1vcmRlci1jcmVhdGlvbi1ub3RpZmljYXRpb24tZW1haWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 4 weeks ago [\#215480](#215480) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[date format in order creation notification email](/forum/35-orders-management/879312-date-format-in-order-creation-notification-email#215480 "-- HikaShop version -- : HikaShop Business: 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.2.11  In the order creation email, my order comes in with the message (sorry... in Dutch): Bedankt voor van uw bestelling met Nr. C6Z8 via   www.kattenzorg-denhaag.nl/joomla2/  op 2015-09-16 om 14:06  As you can see the date format is not exactly user-friendly. I'd really rather &quot;16 september 2015&quot; (in Dutch) In the preloaded on line 96 is the following: hikashop&#95;getDate(time(),'%d %B %Y') As you can see that is not what is showing up in the email, and any other format change I make is also not working (eg. %l %d %F %Y). I've edited the preloaded for a number of other changes I wanted to implement and they've worked fine.  Oh, and one other question: Can I remove the telephone number from the user information in the order creation email? I still want users to enter their number when registering, I just don't want it in the email.  Please advise. Thanks in advance.")*

Hi,

" %F " is an incorrect tag for the Joomla function date.
The right tag is " %B ".
As you wrote in your first message

> hikashop\_getDate(time(),'%d %B %Y')

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTMxMi1kYXRlLWZvcm1hdC1pbi1vcmRlci1jcmVhdGlvbi1ub3RpZmljYXRpb24tZW1haWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")**
- [![kattenzorg's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38616-kattenzorg "View kattenzorg's Profile") Topic Author
- [ Offline](/forum/user/38616-kattenzorg)

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 3 weeks ago [\#215688](#215688) by [kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")  Replied by *[kattenzorg](/forum/user/38616-kattenzorg "View kattenzorg's Profile")* on topic *[date format in order creation notification email](/forum/35-orders-management/879312-date-format-in-order-creation-notification-email#215688 "-- HikaShop version -- : HikaShop Business: 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.2.11  In the order creation email, my order comes in with the message (sorry... in Dutch): Bedankt voor van uw bestelling met Nr. C6Z8 via   www.kattenzorg-denhaag.nl/joomla2/  op 2015-09-16 om 14:06  As you can see the date format is not exactly user-friendly. I'd really rather &quot;16 september 2015&quot; (in Dutch) In the preloaded on line 96 is the following: hikashop&#95;getDate(time(),'%d %B %Y') As you can see that is not what is showing up in the email, and any other format change I make is also not working (eg. %l %d %F %Y). I've edited the preloaded for a number of other changes I wanted to implement and they've worked fine.  Oh, and one other question: Can I remove the telephone number from the user information in the order creation email? I still want users to enter their number when registering, I just don't want it in the email.  Please advise. Thanks in advance.")*

Oops. Sorry. Seriously blonde moment.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTMxMi1kYXRlLWZvcm1hdC1pbi1vcmRlci1jcmVhdGlvbi1ub3RpZmljYXRpb24tZW1haWw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.212 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
