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

#   order date is not updating and stays on same date

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

8 years 2 months ago [\#297025](#297025) by [Pixcraft](/forum/user/48792-pixcraft "View Pixcraft's Profile")  *[order date is not updating and stays on same date](/forum/35-orders-management/895557-order-date-is-not-updating-and-stays-on-same-date#297025 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7 -- Browser(s) name and version -- : Chrome  I'm using the code {id size=&quot;5&quot;}/{date format=&quot;m/y&quot;} as order number but it always generate an ordernumber like 000XX/08/18. In other words it stays on the same date 08/18")* was created by *[Pixcraft](/forum/user/48792-pixcraft "View Pixcraft's Profile")*

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 7
-- Browser(s) name and version -- : Chrome

I'm using the code {id size="5"}/{date format="m/y"} as order number but it always generate an ordernumber like 000XX/08/18.
In other words it stays on the same date 08/18

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NTU1Ny1vcmRlci1kYXRlLWlzLW5vdC11cGRhdGluZy1hbmQtc3RheXMtb24tc2FtZS1kYXRlP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

8 years 2 months ago [\#297026](#297026) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[order date is not updating and stays on same date](/forum/35-orders-management/895557-order-date-is-not-updating-and-stays-on-same-date#297026 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7 -- Browser(s) name and version -- : Chrome  I'm using the code {id size=&quot;5&quot;}/{date format=&quot;m/y&quot;} as order number but it always generate an ordernumber like 000XX/08/18. In other words it stays on the same date 08/18")*

Hi,

Well, "m" is the month and "y" is the year. So as long as you're in August, the 08/18 part will stay the same. That's normal.
If you want the day you need to add "d" to the format.
[ php.net/manual/en/function.date.php](http://php.net/manual/en/function.date.php)

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

8 years 2 months ago [\#297067](#297067) by [Pixcraft](/forum/user/48792-pixcraft "View Pixcraft's Profile")  Replied by *[Pixcraft](/forum/user/48792-pixcraft "View Pixcraft's Profile")* on topic *[order date is not updating and stays on same date](/forum/35-orders-management/895557-order-date-is-not-updating-and-stays-on-same-date#297067 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7 -- Browser(s) name and version -- : Chrome  I'm using the code {id size=&quot;5&quot;}/{date format=&quot;m/y&quot;} as order number but it always generate an ordernumber like 000XX/08/18. In other words it stays on the same date 08/18")*

Hi,
Thanks. I totally overlooked the m/y as the first order I created was on august 18 ![:)](/media/kunena/emoticons/3.png ":)")
Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NTU1Ny1vcmRlci1kYXRlLWlzLW5vdC11cGRhdGluZy1hbmQtc3RheXMtb24tc2FtZS1kYXRlP3RtcGw9bWFya2Rvd24=) 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.078 seconds

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