I need a Java Script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AaronM
    GFY Royality ;)
    • Oct 2001
    • 46917

    #1

    I need a Java Script

    Just a basic script that I can post to a page that show the current EST to anybody who views the page.

    Any suggestions?
  • nobull
    Confirmed User
    • Oct 2002
    • 1256

    #2
    hitme up on icq...i'll have it done for you in 5 minutes 179419520

    not sure why I'm feeling so nice.

    NOREBILLS -- MAKE CASH NOW WITH THE NEWEST IDEA IN ONLINE PORN!

    Comment

    • Mutt
      Too lazy to set a custom title
      • Sep 2002
      • 34431

      #3
      Aaron the simplest way to include the date time on a webpage is with SSI, simple little code u add where u want the date displayed, then rename the page .shtml instead of .html.

      http://www.htmlgoodies.com/beyond/ss...sandtimes.html
      I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!

      Comment

      • loverboy
        When it rains, it pours
        • May 2003
        • 20609

        #4
        worldtimeserver.com

        Comment

        • OzKaNoz
          Confirmed User
          • Jan 2001
          • 1834

          #5
          Here you go Aaron.
          There are many to choose from.
          http://webdeveloper.earthweb.com/webjs/jstimedate

          Oz
          Techie Media Web Hosting

          Comment

          • candyflip
            Carpe Visio
            • Jul 2002
            • 43070

            #6
            <S.CRIPT language=hahahahahahahahahaha type=text/hahahahahahahahahaha>
            var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thu rsday","Friday","Saturday")
            var montharray=new Array("January","February","March","April","May"," June","July","August","September","October","Novem ber","December")
            function getthedate(){
            var mydate=new Date()
            var year=mydate.getYear()
            if (year < 1000)
            year+=1900
            var day=mydate.getDay()
            var month=mydate.getMonth()
            var daym=mydate.getDate()
            if (daym<10)
            daym="0"+daym
            var hours=mydate.getHours()
            var minutes=mydate.getMinutes()
            var seconds=mydate.getSeconds()
            var dn="AM"
            if (hours>=12)
            dn="PM"
            if (hours>12){
            hours=hours-12
            }
            {
            d = new Date();
            Time24H = new Date();
            Time24H.setTime(d.getTime() + (d.getTimezoneOffset()*60000) + 3600000);
            }
            if (hourshahahaha0)
            hours=12
            if (minutes<=9)
            minutes="0"+minutes
            if (seconds<=9)
            seconds="0"+seconds
            //Simple fix to prevent errors in W3C HTML Validator by Carl A. Rhoades
            //Keeps the validator from thinking the span tags are imporoperly nested inside the script tags
            var lstn = "<";
            var slsh = "/";var grtn = ">";
            var lts = "</";
            var spcs = "&nbsp;&nbsp;";
            var cdate = lstn+"span class=date"+grtn+" "+dayarray[day]+", "+montharray[month]+" "+daym+" "+year+" "+lts+"span"+grtn+""+lstn+"span class=time"+grtn+" | "+hours+":"+minutes+":"+seconds+" "+dn+"&nbsp;&nbsp;"+lts+"span"+grtn;
            if (document.all)
            document.all.clock.innerHTML=cdate
            else if (document.getElementById)
            document.getElementById("clock").innerHTML=cdate
            else
            document.write(cdate)
            }
            if (!document.all&&!document.getElementById)
            getthedate()
            function goforit(){
            if (document.all||document.getElementById)
            setInterval("getthedate()",1000)
            }
            window.onload=goforit
            // End --></S.CRIPT>

            Spend you some brain.
            Email Me

            Comment

            • candyflip
              Carpe Visio
              • Jul 2002
              • 43070

              #7
              Dont forget your s.c.r.i.p.t. tags

              Spend you some brain.
              Email Me

              Comment

              • RedShoe
                赤い靴 call me 202-456-1111
                • Feb 2001
                • 14831

                #8
                Originally posted by candyflip
                Dont forget your s.c.r.i.p.t. tags
                JA<b></b>VAS<b></b>CRI<b></b>PT

                SPECIALTY COSTUMES • PROPS • FX
                Superheroes • Monsters • Robots
                PM for details


                For any manufacturing needs. Adult or otherwise.

                aka BonsHigh on Insta
                Bonsai weed plants


                Comment

                Working...