1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to implement function like: 'This offer expires in XX:XX hours or date'

Discussion in 'General Scripting Chat' started by blessingcpa, Nov 20, 2011.

  1. blessingcpa

    blessingcpa Registered Member

    Joined:
    Oct 22, 2010
    Messages:
    73
    Likes Received:
    6
    Hello!

    My friend wants to implement on his page a counter function like

    'This offer expires in xx:xx Hours' or This offer expires on *date of the next day* etc.

    Does anyone know how this works?

    Cheers
     
  2. itzcorky

    itzcorky Junior Member

    Joined:
    Nov 1, 2011
    Messages:
    140
    Likes Received:
    67
    Occupation:
    Being a Boss
    I would show you how but im not allowed to post links yet. My suggestion is to google it and I take it you are doing this on an html page. It is very simple.
     
  3. m0nster

    m0nster Senior Member

    Joined:
    Oct 20, 2010
    Messages:
    1,044
    Likes Received:
    1,003
    Occupation:
    Offline Marketing
    Location:
    USA
    Code:
    http://keith-wood.name/countdown.html
    what i searched:
    Code:
    http://www.google.com/search?client=safari&rls=en&q=javascript+countdown+timer&ie=UTF-8&oe=UTF-8
     
    • Thanks Thanks x 2
  4. balsagoth007

    balsagoth007 Elite Member

    Joined:
    Oct 30, 2010
    Messages:
    2,102
    Likes Received:
    1,378
    Occupation:
    Doctor
    If he use Wordpress just check this link