• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Displaying Products based on the timezone?

 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am displaying the products based on the launch date which is available in the DB tables across regions. In the Store UI based on the launch date I will make the products visible, say for example for the corresponding product if the launch date is set as 15 January 2016 then it will be visible on the store only during that time. The crux here is, 15 Jan 2016 in Asia will be 14 Jan 2016 in USA in such case how we need to handle it? Since we need to display the products across various regions which is under different timezone, what is the best way of handling it? How we will choose between the timezone and which timezone should be given preference? Please clarify.

Thanks
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is a business logic decision not a programming decision.
 
reply
    Bookmark Topic Watch Topic
  • New Topic