Need Help with an old .asp timer scriptRSS

1 reply

Last post Aug 09, 2017 06:57 AM by Yuk Ding

  • Need Help with an old .asp timer script

    Aug 09, 2017 03:12 AM|comatoast|LINK

    his website page was built in 2012 but it came from website files that were built in 2005. The site works fine and so does the page layout but for some reason the milliseconds is now not working on the clock. It worked for years but then stopped a few years back. The Clock works fine but for some reason not the milliseconds display. Can anyone help solve this issue. The page is located here http://www.borrasoccer.com/zpics.asp and the script is copied below.


                               
                                 
                                 
                               
                           

      <script type="text/javascript">
            TargetDate = "12/14/2019 10:00 AM";
            BackColor = "003300";
            ForeColor = "white";
            CountActive = true;
            CountStepper = -1;
            LeadingZero = true;
            DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds, %%MS%% MilliSeconds.";
            FinishMessage = "It is here!";
        </script>
        <script type="text/javascript" src="countdown.js"></script>
                                 


                       
                   
                 
             
           
       
     
     
       

    Thank you,

    Bill

  • Re: Need Help with an old .asp timer script

    Aug 09, 2017 06:57 AM|Yuk Ding|LINK

    Hi comatoast,

    Did you change anything? Maybe the milesecond is converted to the wrong format. Then the value was converted to 0. To fix this issue, you could post your issue to asp.net forum which was dedicated for code discussion.

    https://forums.asp.net/

    Best Regards,

    Yuk Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.