Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 563827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:42:04+00:00 2026-05-13T12:42:04+00:00

I use the datepicker to gererate a requested delivery date on my site. Same

  • 0

I use the datepicker to gererate a requested delivery date on my site. Same day delivery is available until 3pm GMT, so I run a script to move the calendars current selection on by 1 day at that time. The 3pm is generated on the server and not the client machine to ensure the correct time.

I would like to overcome this problem:
Australian customers moves forward by 1 day as the date there changes naturally (they are 11 hours ahead), this means they miss out on approx 3 hours of same day delivery – but I can live with that. However, when my script kicks in at 3pm UK time they get nudged on another day.

Example:
Its 3:15pm in the UK on January 26th, current date showing to UK users is now January 27th (cool), but our Auzzie users are now seeing January 28th (not cool).

Is there a way to localise the datepicker to GMT without running the clock time on the client pc.

This also affects our North American traffic – but isn’t such a big issue – fixing one problem should fix the rest.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:42:04+00:00Added an answer on May 13, 2026 at 12:42 pm

    You could geo-locate the IP address of your client and figure out the time zone accordingly and adjust the zime(day) on your site.
    using Javascript: see Google API ClientLocation

    edit wait. It actually would be easier to get the date directly using Javascript. What speaks against it?

      var currentDate = new Date()
      var day = currentDate.getDate()
      var month = currentDate.getMonth()
      var year = currentDate.getFullYear()
      document.write("<b>" + day + "/" + month + "/" + year + "</b>")
    

    Apparently I’m still half asleep 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use JQuery Datepicker and cannot get data from it. In .html: <p>Date: <input
I am trying to use DatePicker in my site. I have a main.css and
Good Day all, I want to use datepicker to show the user particular dates
I decided to use the JQuery UI Datepicker script for picking dates. Below is
Can I have good example or code about how to use Ajax Datepicker in
How do I use the jQuery Datepicker with a textbox input: $(#my_txtbox).datepicker({ // options
I'm usung the jQuery datepicker. In my EndDate textbox I'd like to use the
I have a div in which there is a datepicker. I use something like
I have a requirement to use date picker in my applicaiton. I have lot
I use a jquery datepicker then i read it in my servlet like that:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.