Is there a way to set a time zone? LIke a 4pm ET countdown for a shipping banner

Author
Topic
#1899

Enjoying your plug-in. Looked all in the documentation and didn’t see nor any other posts.

Is there a way to set a time zone? LIke a 4pm ET countdown for a shipping banner? With GMT plus or minus somehow?

Thanks! — ROB SNELL

Viewing 3 replies - 1 through 3 (of 3 total)
Author
Replies
  • #1900

    Hi,

    No, plugin doesn’t support this directly, but it depends on the Date object in JavaScript, and you can set that object to a time and date you want, and plugin will use it.

    Milan

  • #1906

    Thanks for your speedy reply. IDEA: Could you write that code and bill me for it? OR >>> I think it could be an added feature that you could EASILY sell to retailers, maybe as a new product. As a consultant I have ~3000 retailers on my personal email list I would push it to — I think you could easily get 1% of ecommerce folks to buy it. I need it for a simple Shipping Countdown so customers will be motivated to order, knowing their order ships today . For example, UPS picks up our boxes at 4pm ET USA. My email is rob snell @ gmail if you want to contact me directly. THANKS! — r

  • #1907

    Hi,

    My plugin uses JavaScript Date object by default, so I don’t need to add any new functionality, since it doesn’t depend on my plugin to calculate the date. So, when specifying the countdown target in my plugin you use Date object. There are many examples on the internet on how to create that object to support timezone offset calculation and specify UTC time and get time according to the visitor timezone.

    Also, there is a library called SugarJS that expands Date function with more direct way of specifying UTC time and date. I have added to the list to introduce examples in the plugin with next version that deal with UTC, but I don’t have free time to work on that now.

    If you want me for custom work on this, I don’t have any free time for the next 3 weeks to take on any new custom work. I suggest you search a bit on the internet about UTC and Date object, it is all already there.

    Milan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there a way to set a time zone? LIke a 4pm ET countdown for a shipping banner’ is closed to new replies.