time left for an event in days using current time

End Time is (1720901740 ) : 13-Jul-2024 20:15:40

Here is the code which create the balance time value and pass the value to display_c(value) function.
$d=date('d')+1; // Added one day

$end_time=mktime(20,15,40,$m,$d,$y);  // Hour,minute,second, month,day,year  

echo "<body  onload=display_c($balance);>";
Tutorial on Countdown ( full script )
Date Reference Realtime Clock using JavaScript
Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net


    Post your comments , suggestion , error , requirements etc here

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer