Time and date

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • JGoudge87
    Corporal

    • Mar 2007
    • 18

    Time and date

    Is there a way to put the time and date on my website? If so, how?
  • larazovich
    General

    • Jul 2006
    • 5811

    #2
    Re: Time and date

    Originally posted by JGoudge87 View Post
    Is there a way to put the time and date on my website? If so, how?
    I think there will be something here you can use for that:
    Liz
    www.sebastopolparty.com
    www.raynordescendents.com

    Ring the bells that still can ring

    Comment

    • JGoudge87
      Corporal

      • Mar 2007
      • 18

      #3
      Re: Time and date

      I am having a bit of trouble, would you mind taking a couple of minutes to describe what i should be diting and so forth?

      Comment

      • larazovich
        General

        • Jul 2006
        • 5811

        #4
        Re: Time and date

        sure. are you just looking for a way to put a time and date on your site?
        Liz
        www.sebastopolparty.com
        www.raynordescendents.com

        Ring the bells that still can ring

        Comment

        • larazovich
          General

          • Jul 2006
          • 5811

          #5
          Re: Time and date

          http://www.timeanddate.com/clocks/free.html
          If you follow this link you can configure a clock.
          then copy the html it makes for you
          then put the html you copy into an html box where you want it on your site and there you go
          Liz
          www.sebastopolparty.com
          www.raynordescendents.com

          Ring the bells that still can ring

          Comment

          • LadyEye
            General & Forum Moderator

            • Jun 2006
            • 10526

            #6
            Re: Time and date

            <FONT style="FONT-SIZE:10pt" color="#FFFFFF" face="Georgia"><b>
            <script language="JavaScript" type="text/javascript">
            <!--
            var
            month = new Array();
            month[0]="January";
            month[1]="February";
            month[2]="March";
            month[3]="April";
            month[4]="May";
            month[5]="June";
            month[6]="July";
            month[7]="August";
            month[8]="September";
            month[9]="October";
            month[10]="November";
            month[11]="December";
            var
            day = new Array();
            day[0]="Sunday";
            day[1]="Monday";
            day[2]="Tuesday";
            day[3]="Wednesday";
            day[4]="Thursday";
            day[5]="Friday";
            day[6]="Saturday";
            today = new Date();
            date = today.getDate();
            day = (day[today.getDay()]);
            month = (month[today.getMonth()]);
            year = (today.getFullYear());
            suffix = (date==1 || date==21 || date==31) ? "st" : "th" &&
            (date==2 || date==22) ? "nd" : "th" && (date==3 || date==23) ? "rd" : "th"
            function print_date()
            {
            document.write(day + "," + "&nbsp;" + date + "<sup>" + suffix + "</sup>" + "&nbsp;" +
            month + "," + "&nbsp;" + year);
            }
            // -->
            </script>
            <script>
            <!--
            print_date();
            //-->
            </script>



            Copy the above script into an html box and place on your page .... you can change the font size and color code ...

            VodaHost

            Your Website People!
            1-302-283-3777 North America / International
            02036089024 / United Kingdom
            291916438 / Australia

            ------------------------

            Top 3 Best Sellers

            Web Hosting - Unlimited disk space & bandwidth.

            Reseller Hosting - Start your own web hosting business.

            Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


            Comment

            • JGoudge87
              Corporal

              • Mar 2007
              • 18

              #7
              Re: Time and date

              Thanks for all of your quick and helpful responses!

              Thank you

              Comment

              • melody
                Private First Class

                • Jun 2007
                • 6

                #8
                Re: Time and date

                I tried copying and pasting the code...I clicked on html, pasted the code, tried to preview in my browser...nothing. Then I published my site to see if the date/time would show up, nothing.

                Comment

                • melody
                  Private First Class

                  • Jun 2007
                  • 6

                  #9
                  Re: Time and date

                  Okay, i found it, but once i copied the code you have above it centered it on the bottom of the page. Which portion of the code can i change to allow me to place it anywhere i want on the page?

                  Comment

                  • Vasili
                    Moderator

                    • Mar 2006
                    • 14683

                    #10
                    Re: Time and date

                    Originally posted by melody View Post
                    Okay, i found it, but once i copied the code you have above it centered it on the bottom of the page. Which portion of the code can i change to allow me to place it anywhere i want on the page?
                    It seems that you did not copy the script into a HTML box as directed. Unconfined scripts (those not copied into "boxes" but pasted onto the page itself) will always present at the top of the page wherever page coding itself allows.

                    Delete it from your BV page as is, click the icon for a HTML box, double-click that box, and copy the script entirely into it.

                    >> You can re-shape the html box to approximate the size you wish the script to appear, but keep in mind the only real reference that is useful is the top-left corner of the HTML box, which corresponds to the X-Y axis point of your BV page: scripts are not bound to present within the HTML box per se, but can be placed/moved upon your BV page with this X-Y reference point a "box" provides --- all scripts perform as they were written (not as you simply "intend"), so being able to place/move them with a single reference/reform point is extremely useful. You will figure this out by needing to move the box until your script is in the exact place you desire.
                    . VodaWebs....Luxury Group
                    * Success Is Potential Realized *

                    Comment

                    Working...
                    X