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

  • SEARCH
  • Home
  • 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 6097549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:03:24+00:00 2026-05-23T13:03:24+00:00

Found out about this cool jQuery countdown which is initialized as such: <script type="text/javascript">

  • 0

Found out about this cool jQuery countdown

which is initialized as such:

<script type="text/javascript">
    $(function () {
        $('#countdown').countdown({until:$.countdown.UTCDate(-8, 2011,  1 - 1, 1), format: 'DHMS', layout:
            '<div id="timer">' + '<hr />'+
            '<div id="timer_days" class="timer_numbers">{dnn}</div>'+
            '<div id="timer_hours" class="timer_numbers">{hnn}</div>'+
            '<div id="timer_mins" class="timer_numbers">{mnn}</div>'+
            '<div id="timer_seconds" class="timer_numbers">{snn}</div>'+
            '<div id="timer_labels">'+
            '<div id="timer_days_label" class="timer_labels">days</div>'+
            '<div id="timer_hours_label" class="timer_labels">hours</div>'+
            '<div id="timer_mins_label" class="timer_labels">mins</div>'+
            '<div id="timer_seconds_label" class="timer_labels">secs</div>'+
            '</div>'+
            '</div>'
    
        });
    });
</script>

Any idea how must I config it to countdown until 14th of July, and to also until 18:00PM?

  • 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-23T13:03:25+00:00Added an answer on May 23, 2026 at 1:03 pm

    The documentation for that plugin is here: http://keith-wood.name/countdown.html

    The snippet there is:

    var newYear = new Date(); 
    newYear = new Date(newYear.getFullYear() + 1, 1 - 1, 1); 
    $('#defaultCountdown').countdown({until: newYear}); 
    

    That makes it countdown to the next new year. To count down to a particular date, set newyear = new Date(2011, 12-1, 25) (that’s Christmas day).

    So you could do:

    $('#defaultCountdown').countdown({until: new Date(2011, 07-1, 4)});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just found out about using label s in JavaScript, such as: for (var
I recently found out about n-grams and the cool possibility to compare frequency of
Title pretty much sums it up. I just found out about this function and
I recently found out about the surface & device class which may solve my
I've just found out about Stack Overflow and I'm just checking if there are
I've recently found out about protocol buffers and was wondering if they could be
I recently found out about livecoding where someone will program something on the fly
I only recently found out about URL rewriting , so I've still got a
I'm using Notepad++ for python development, and few days ago I found out about
I recently asked a question about IIf vs. If and found out that there

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.