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 8756877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:10:27+00:00 2026-06-13T14:10:27+00:00

Hi i need to make a countdown script using dates in this format (Y-m-d

  • 0

Hi i need to make a countdown script using dates in this format (Y-m-d H:m:s), so i retrieve current_datetime and expire_datetime in that format and i need to use them inside some js or js plugin to show up the countdown between these dates.

Does someone knows lightweight js or jquery plugins that accepts the date format showed above?

This is pretty what i need http://keith-wood.name/countdown.html, but it doesn’t allows Y-m-d H:m:s format

NB: i need to bind the countdown event to multiple elements on page.

Thanks!.

  • 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-06-13T14:10:28+00:00Added an answer on June 13, 2026 at 2:10 pm

    You can use the one you posted a link to, just convert your date string into a date object. This can easily be done by breaking the string down into components using JavasScript’s split method:

    var date_split = date_string.split(" ");
    var date = date_split[0];
    date = date.split("-");
    var time = date_split[1];
    time = time.split(":");
    var date_object = new Date(date[0],date[1],date[2],time[0],time[1],time[2]);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking to use this plugin: http://keith-wood.name/countdown.html but I need to use the
I need make all of my posts update. I use bulk upload for store,
I need to make the top header of a report disappear. The part that
I need make a merge sort using an additional array. Here is my code:
Does anyone have an idea how to make a countdown ticker that shows the
I need make layout that must look exactly like below 2 sites. How should
I want to make a countdown timer, that can be used on several places
I need make input field that contain phone numbers. Users can enter 1-10 numbers.
I need a stopwatch/timer to countdown. I'm trying to use Kellis Havers stopwatch jQuery
I need make a test of a model, but when I do this: ruby

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.