Results 1 to 4 of 4

Thread: Insert current date and time

  1. #1
    chris
    Guest

    Default Insert current date and time

    Hi
    I've been asked to add current date and time to several pages in the
    format "WELCOME ~ Thursday 05th June 2008 ~ WELCOME" – and which scrolls
    across page.
    Is this possible??? Static would be OK if I can't scroll.
    Many thanks
    Chris

  2. #2
    William Patterson
    Guest

    Default Re: Insert current date and time

    Here is some code I use that you can just place in an "add html box" in a
    plain text box. It is static You might be able to insert it into a
    scroller if you wrapped in code. Not sure how to do that. You can see this
    at www.fragilex.org/html/newhome2.htm

    <font face="arial" size=-1 color="#218c5a">It's
    <script language="JavaScript">
    <!--

    // Array of day names
    var dayNames = new
    Array("Sunday","Monday","Tuesday","Wednesday","Thu rsday","Friday","Saturday");

    // Array of month Names
    var monthNames = new Array(
    "January","February","March","April","May","June", "July","August","September","October","November"," December");

    var now = new Date();
    document.write(monthNames[now.getMonth()] + " " + now.getDate() + ", " +
    now.getFullYear());

    // -->
    </SCRIPT>

    "chris" <chris@removechris-ward.co.uk> wrote in message
    news:g2hir1$ef62@flsun90netnews01.netobjects.com.. .
    > Hi
    > I've been asked to add current date and time to several pages in the
    > format "WELCOME ~ Thursday 05th June 2008 ~ WELCOME" – and which scrolls
    > across page.
    > Is this possible??? Static would be OK if I can't scroll.
    > Many thanks
    > Chris




  3. #3
    Jan54
    Guest

    Default Re: Insert current date and time

    See: http://www.maxxblade.co.uk/clock/

    Jan

    "chris" <chris@removechris-ward.co.uk> schreef in bericht
    news:g2hir1$ef62@flsun90netnews01.netobjects.com.. .
    > Hi
    > I've been asked to add current date and time to several pages in the
    > format "WELCOME ~ Thursday 05th June 2008 ~ WELCOME" – and which scrolls
    > across page.
    > Is this possible??? Static would be OK if I can't scroll.
    > Many thanks
    > Chris




  4. #4
    chris
    Guest

    Default Re: Insert current date and time

    Jan54 wrote:
    > See: http://www.maxxblade.co.uk/clock/
    >
    > Jan
    >
    > "chris" <chris@removechris-ward.co.uk> schreef in bericht
    > news:g2hir1$ef62@flsun90netnews01.netobjects.com.. .
    >> Hi
    >> I've been asked to add current date and time to several pages in the
    >> format "WELCOME ~ Thursday 05th June 2008 ~ WELCOME" – and which scrolls
    >> across page.
    >> Is this possible??? Static would be OK if I can't scroll.
    >> Many thanks
    >> Chris

    >
    >

    Thanks Guys - very good, no scrolling but thats fine Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •