SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2010
    0 Post(s)
    0 Thread(s)

    How does an ecommerce site determines time and date?

    Note sure this is the right place to ask this question. Recently I was on a website to buy some flowers to send to a relative. I needed the flowers to reach the person on Feb 3rd. I was ordering from India, it was already Feb 3rd in India. So the "delivery date" tool was greyed out since it was the same day delivery. But I asked my friend in USA to place the order and she could do it. The date was not greyed out since it was only Feb 2nd there in USA...

    My question is how does a website determines the time and date of the order? Does it receive that information from the customer's computer? Or IP address's time zone? How does it work? Sorry if this is too elementary ...

  2. #2
    Community Advisor silver trophy

    Join Date
    Nov 2006
    40 Post(s)
    1 Thread(s)
    There was probably a javascript validation of the form item which used the local pc time to calculate validity. I think it would be unlikely they would go to the complexity of ip geolocation and then calculating timezones and differences


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts