How do I add today's date to website?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • pigletxx
    Sergeant

    • Feb 2006
    • 28

    How do I add today's date to website?

    Hi,
    I'm not sure where to post this..eeekkk!
    But i'd like to add today's date & possibly the time to my website... does blue voda offer a programme that does this?

    Many thanks

    the ever learning pigletxx
    Pigletxx

    www.peoples-church.org.uk
    local church for local people
  • racefan20
    Major General

    • Jul 2005
    • 2335

    #2
    Re: How do I add today's date to website?

    Yes. In BlueVoda, go to Insert> Ready To Use Javascripts.
    My NASCAR Forum

    Comment

    • pigletxx
      Sergeant

      • Feb 2006
      • 28

      #3
      Re: How do I add today's date to website?

      Hi thaks for your reply,
      Found the javascript... but now how do i input the date that automatically updates itself everyday? do i need a specific date program or something?

      a sighing pigletxx
      Pigletxx

      www.peoples-church.org.uk
      local church for local people

      Comment

      • racefan20
        Major General

        • Jul 2005
        • 2335

        #4
        Re: How do I add today's date to website?

        The javascript in BV does that for you.
        My NASCAR Forum

        Comment

        • pigletxx
          Sergeant

          • Feb 2006
          • 28

          #5
          Re: How do I add today's date to website?

          It's me again... found insert>javascript - but not - Ready to Use Javascripts. so what are they?

          Might be easier & less frustrating for you if maybe you take me through it from the beginning. so far I have my index.html page infront of me. I want it to display the date maybe the time, something that will update itself.

          A struggling to get it pigletxx X:o)
          Pigletxx

          www.peoples-church.org.uk
          local church for local people

          Comment

          • navaldesign
            General & Forum Moderator

            • Oct 2005
            • 12080

            #6
            Re: How do I add today's date to website?

            Originally posted by racefan20
            The javascript in BV does that for you.
            Hi Racefan, you have mail

            Let's give our friens a hand:

            Open a html box in your page. Double click it to edit it. In the window that opens put this code:

            <form name=myForm>
            <input type=button value="Loading..." name=clock></form>
            <SCRIPT LANGUAGE="JavaScript"><!--
            function runClock(){
            theTime = window.setTimeout("runClock()", 1000);
            d = new Date();
            day = d.getDay();
            mon = d.getMonth();
            date = d.getDate();
            year = d.getYear();
            hr = d.getHours();
            min = d.getMinutes();
            sec = d.getSeconds();
            if(year<1000){year=(""+(year+11900)).substring(1,5 );}
            else{year=(""+(year+10000)).substring(1,5);}
            if(hr==0){ap=" AM";hr=12}
            else if(hr <= 11){ap=" AM"}
            else if(hr == 12){ap=" PM";hr=12}
            else if(hr >= 13){ap=" PM";hr-=12}
            if(min <= 9){min="0"+min}
            if(sec <= 9){sec="0"+sec}
            zday=new Array();
            zday=["Sunday","Monday","Tuesday","Wednesday","Thursday" ,"Friday","Saturday"];
            zmon=new Array();
            zmon=["January","February","March","April","May","June", "July","August","September","October","November"," December"];

            document.myForm.clock.value=""+zday[day]+", "+zmon[mon]+" "+date+", "+year+" "+hr+":"+min+":"+sec+ap+"";}
            runClock();
            //--></script>



            Put the html box wherever you like in your page.
            Navaldesign
            Logger Lite: Low Cost, Customizable, multifeatured Login script
            Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
            DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
            Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

            Comment

            • pigletxx
              Sergeant

              • Feb 2006
              • 28

              #7
              Re: How do I add today's date to website?

              It worked!! Thanks everso.... easy when you know how eh? lol

              Can I just pick your brains on something else... is it possible for the date just to be in dark blue (navy) font without the 'box/button"?

              a very grateful pigletxx
              Pigletxx

              www.peoples-church.org.uk
              local church for local people

              Comment

              • navaldesign
                General & Forum Moderator

                • Oct 2005
                • 12080

                #8
                Re: How do I add today's date to website?

                Originally posted by pigletxx
                It worked!! Thanks everso.... easy when you know how eh? lol

                Can I just pick your brains on something else... is it possible for the date just to be in dark blue (navy) font without the 'box/button"?

                a very grateful pigletxx
                Sorry, this is a ready made script. There are others that give separataly the date and the time, then you can combine them. Make a search
                Navaldesign
                Logger Lite: Low Cost, Customizable, multifeatured Login script
                Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                Comment

                • pigletxx
                  Sergeant

                  • Feb 2006
                  • 28

                  #9
                  Re: How do I add today's date to website?

                  Thank for all your time & help.... it's been brill!

                  bless you X:o)

                  A very thankful pigletxx
                  Pigletxx

                  www.peoples-church.org.uk
                  local church for local people

                  Comment

                  • kenkew
                    Sergeant First Class

                    • Feb 2006
                    • 54

                    #10
                    Re: How do I add today's date to website?

                    Nice one NavalD...I just borrowed it too. Works a treat. Mind having a go at solving my other nittypicky thingy. Q. is here someplace, Published site problems...It's not the 'puzzle query, I solved that. It's FTP problem I think.

                    Comment

                    • navaldesign
                      General & Forum Moderator

                      • Oct 2005
                      • 12080

                      #11
                      Re: How do I add today's date to website?

                      Originally posted by kenkew
                      Nice one NavalD...I just borrowed it too. Works a treat. Mind having a go at solving my other nittypicky thingy. Q. is here someplace, Published site problems...It's not the 'puzzle query, I solved that. It's FTP problem I think.
                      So what's your problem, if any?
                      Navaldesign
                      Logger Lite: Low Cost, Customizable, multifeatured Login script
                      Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                      DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                      Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                      Comment

                      • christian_woman
                        Sergeant

                        • Sep 2005
                        • 32

                        #12
                        Re: How do I add today's date to website?

                        This script is wonderful. I just added it to my website. Thanks for making my day unexpectedly great!

                        Comment

                        • doug145
                          Sergeant First Class

                          • Sep 2006
                          • 56

                          #13
                          Re: How do I add today's date to website?

                          Navaledesign, or Anyone:

                          How do I add 28 calendar days to today's date and display that value? Do you have a script for doing that?

                          Doug

                          Comment

                          • navaldesign
                            General & Forum Moderator

                            • Oct 2005
                            • 12080

                            #14
                            Re: How do I add today's date to website?

                            No, i don't. I beleive one can be easily made if one has a reference point (sorry, i don't know what is the date according to the 28 day calendar). Give me a reference point, and the month names and i'll see if can prepare something for you.
                            Navaldesign
                            Logger Lite: Low Cost, Customizable, multifeatured Login script
                            Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                            DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                            Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                            Comment

                            • doug145
                              Sergeant First Class

                              • Sep 2006
                              • 56

                              #15
                              Re: How do I add today's date to website?

                              All I want to do is add 28 days to whatever today's date is and display it. Todays date will always change, so that value will always change also.

                              Comment

                              Working...
                              X