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

#   problem order selection using calendar

##

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

Less More

- Posts: 220
- Thank you received: 8
-
-
-

12 years 7 months ago -  12 years 7 months ago [\#152279](#152279) by [Udo](/forum/user/29928-udo "View Udo's Profile")  *[problem order selection using calendar](/forum/35-orders-management/867458-problem-order-selection-using-calendar#152279 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 1.5.26 -- PHP version -- : 5.3.21  Hi,  I have a problem with the data filtering of the orders in the backend. When selecting a From or To date (by typing or by clicking the calendar) the date jumps to 1970-01-01. This can only be restored by logging out.  This happens using Firefox and also using Chrome.  regards, Udo")* was created by *[Udo](/forum/user/29928-udo "View Udo's Profile")*

-- HikaShop version -- : 2.3.0
-- Joomla version -- : 1.5.26
-- PHP version -- : 5.3.21

Hi,

I have a problem with the data filtering of the orders in the backend.
When selecting a From or To date (by typing or by clicking the calendar) the date jumps to 1970-01-01. This can only be restored by logging out.

This happens using Firefox and also using Chrome.

regards,
Udo

Last edit: 12 years 7 months ago by [Udo](/forum/user/29928-udo "View Udo's Profile"). Reason: Typo in subject

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NzQ1OC1wcm9ibGVtLW9yZGVyLXNlbGVjdGlvbi11c2luZy1jYWxlbmRhcj90bXBsPW1hcmtkb3du) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#152284](#152284) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[problem order selection using calendat](/forum/35-orders-management/867458-problem-order-selection-using-calendar#152284 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 1.5.26 -- PHP version -- : 5.3.21  Hi,  I have a problem with the data filtering of the orders in the backend. When selecting a From or To date (by typing or by clicking the calendar) the date jumps to 1970-01-01. This can only be restored by logging out.  This happens using Firefox and also using Chrome.  regards, Udo")*

Hi,

Can you reproduce the problem in our demo website ?
Would it be possible to have an access to your website in order to see the problem directly ?

Regards,

---

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

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

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

Less More

- Posts: 220
- Thank you received: 8
-
-
-

12 years 7 months ago [\#152422](#152422) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[problem order selection using calendar](/forum/35-orders-management/867458-problem-order-selection-using-calendar#152422 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 1.5.26 -- PHP version -- : 5.3.21  Hi,  I have a problem with the data filtering of the orders in the backend. When selecting a From or To date (by typing or by clicking the calendar) the date jumps to 1970-01-01. This can only be restored by logging out.  This happens using Firefox and also using Chrome.  regards, Udo")*

Hi Jerome,

In the demo website the order selection works fine.

I´ll send a PM about the access to the site.

regards,
Udo

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 7 months ago [\#152584](#152584) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[problem order selection using calendar](/forum/35-orders-management/867458-problem-order-selection-using-calendar#152584 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 1.5.26 -- PHP version -- : 5.3.21  Hi,  I have a problem with the data filtering of the orders in the backend. When selecting a From or To date (by typing or by clicking the calendar) the date jumps to 1970-01-01. This can only be restored by logging out.  This happens using Firefox and also using Chrome.  regards, Udo")*

Hi,

I don't find the page you are talking about.
Thanks to give us a direct link to the page with the problem.

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

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

Less More

- Posts: 220
- Thank you received: 8
-
-
-

12 years 7 months ago [\#152592](#152592) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[problem order selection using calendar](/forum/35-orders-management/867458-problem-order-selection-using-calendar#152592 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 1.5.26 -- PHP version -- : 5.3.21  Hi,  I have a problem with the data filtering of the orders in the backend. When selecting a From or To date (by typing or by clicking the calendar) the date jumps to 1970-01-01. This can only be restored by logging out.  This happens using Firefox and also using Chrome.  regards, Udo")*

Hi,

It's in the backend, the Hikashop menu Orders.
The filtering on the top, the fields 'From' and 'to'.

Regards,
Udo

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 7 months ago -  12 years 7 months ago [\#152598](#152598) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[problem order selection using calendar](/forum/35-orders-management/867458-problem-order-selection-using-calendar#152598 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 1.5.26 -- PHP version -- : 5.3.21  Hi,  I have a problem with the data filtering of the orders in the backend. When selecting a From or To date (by typing or by clicking the calendar) the date jumps to 1970-01-01. This can only be restored by logging out.  This happens using Firefox and also using Chrome.  regards, Udo")*

Hi,

I made the correction on your end directly.

The modification was to edit the view "order / listing" in the backend template and replace: Code:

echo JText::_('FROM').' '; echo JHTML::_('calendar', hikashop_getDate((@$this-&gt;pageInfo-&gt;filter-&gt;filter_start?@$this-&gt;pageInfo-&gt;filter-&gt;filter_start:''),'%Y-%m-%d %H:%M'), 'filter_start','period_start','%Y-%m-%d',array('size'=&gt;'10','onchange'=&gt;'document.adminForm.submit();')); echo ' '.JText::_('TO').' '; echo JHTML::_('calendar', hikashop_getDate((@$this-&gt;pageInfo-&gt;filter-&gt;filter_end?@$this-&gt;pageInfo-&gt;filter-&gt;filter_end:''),'%Y-%m-%d %H:%M'), 'filter_end','period_end','%Y-%m-%d',array('size'=&gt;'10','onchange'=&gt;'document.adminForm.submit();'));

By: Code:

echo JText::_('FROM').' '; echo JHTML::_('calendar', hikashop_getDate((@$this-&gt;pageInfo-&gt;filter-&gt;filter_start?strtotime(@$this-&gt;pageInfo-&gt;filter-&gt;filter_start):''),'%Y-%m-%d %H:%M'), 'filter_start','period_start','%Y-%m-%d',array('size'=&gt;'10','onchange'=&gt;'document.adminForm.submit();')); echo ' '.JText::_('TO').' '; echo JHTML::_('calendar', hikashop_getDate((@$this-&gt;pageInfo-&gt;filter-&gt;filter_end?strtotime(@$this-&gt;pageInfo-&gt;filter-&gt;filter_end):''),'%Y-%m-%d %H:%M'), 'filter_end','period_end','%Y-%m-%d',array('size'=&gt;'10','onchange'=&gt;'document.adminForm.submit();'));

Last edit: 12 years 7 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

The following user(s) said Thank You: [Udo](/forum/user/29928-udo "View Udo's Profile")

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

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

Less More

- Posts: 220
- Thank you received: 8
-
-
-

12 years 7 months ago [\#153065](#153065) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[problem order selection using calendar](/forum/35-orders-management/867458-problem-order-selection-using-calendar#153065 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 1.5.26 -- PHP version -- : 5.3.21  Hi,  I have a problem with the data filtering of the orders in the backend. When selecting a From or To date (by typing or by clicking the calendar) the date jumps to 1970-01-01. This can only be restored by logging out.  This happens using Firefox and also using Chrome.  regards, Udo")*

Thanks Xavier, this solved the problem.

One remark: after selecting (for instance) 2014-04-08 the result is 2014-04-07 23:00
This may be caused by the time zone in the global configuration?

Regards,
Udo

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NzQ1OC1wcm9ibGVtLW9yZGVyLXNlbGVjdGlvbi11c2luZy1jYWxlbmRhcj90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 7 months ago [\#153082](#153082) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem order selection using calendar](/forum/35-orders-management/867458-problem-order-selection-using-calendar#153082 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 1.5.26 -- PHP version -- : 5.3.21  Hi,  I have a problem with the data filtering of the orders in the backend. When selecting a From or To date (by typing or by clicking the calendar) the date jumps to 1970-01-01. This can only be restored by logging out.  This happens using Firefox and also using Chrome.  regards, Udo")*

Hi,

Use that code instead and you wont' get the hours: Code:

echo JText::_('FROM').' '; echo JHTML::_('calendar', hikashop_getDate((@$this-&gt;pageInfo-&gt;filter-&gt;filter_start?strtotime(@$this-&gt;pageInfo-&gt;filter-&gt;filter_start):''),'%Y-%m-%d'), 'filter_start','period_start','%Y-%m-%d',array('size'=&gt;'10','onchange'=&gt;'document.adminForm.submit();')); echo ' '.JText::_('TO').' '; echo JHTML::_('calendar', hikashop_getDate((@$this-&gt;pageInfo-&gt;filter-&gt;filter_end?strtotime(@$this-&gt;pageInfo-&gt;filter-&gt;filter_end):''),'%Y-%m-%d'), 'filter_end','period_end','%Y-%m-%d',array('size'=&gt;'10','onchange'=&gt;'document.adminForm.submit();'));

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

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

Less More

- Posts: 220
- Thank you received: 8
-
-
-

12 years 7 months ago [\#153237](#153237) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[problem order selection using calendar](/forum/35-orders-management/867458-problem-order-selection-using-calendar#153237 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 1.5.26 -- PHP version -- : 5.3.21  Hi,  I have a problem with the data filtering of the orders in the backend. When selecting a From or To date (by typing or by clicking the calendar) the date jumps to 1970-01-01. This can only be restored by logging out.  This happens using Firefox and also using Chrome.  regards, Udo")*

Hi,

Thanks for the support. Indeed, I the hours don't show, but still the date changes.

No big problem.

Regards,
Udo

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

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