Results 1 to 7 of 7

Thread: Date/time code?

  1. #1
    3 Star Lounger
    Join Date
    Aug 2001
    Location
    Seattle, Washington
    Posts
    251
    Thanks
    29
    Thanked 2 Times in 2 Posts

    Date/time code?

    <img src=/S/bananas.gif border=0 alt=bananas width=33 height=35> I
    Bob Wall

  2. #2
    3 Star Lounger
    Join Date
    Aug 2001
    Location
    Seattle, Washington
    Posts
    251
    Thanks
    29
    Thanked 2 Times in 2 Posts

    Re: Date/time code?

    <img src=/S/scratch.gif border=0 alt=scratch width=25 height=29> I
    Bob Wall

  3. #3
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Date/time code?

    Sorry Bob

    It is because you viewed in IE, us Fire Fox users can see it I will reattach it in a zip file.


    I can change the format of the date if you want and add style if this is what you are looking for BTW
    Jerry

  4. #4
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Date/time code?

    Hi Bob

    The only easy way to do this is to add this between the <head> tags of the HTML generated page. I have the code in the attachment.

    This will give the date in this format

    Sunday, March 26, 2006
    Jerry

  5. #5
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Hornsby Heights, New South Wales, Australia
    Posts
    3,822
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Date/time code?

    I've now tweaked the lounge so it can be seen in IE as well.
    Cheers, Claude.

  6. #6
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Date/time code?

    <P ID="edit" class=small>(Edited by Jezza on 26-Mar-06 23:57. Got wrong end of stick so changed the message to be more meaningful...)</P>Brilliant, thanks...I was worrying that it would cause an error <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>
    Jerry

  7. #7
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Date/time code?

    Generally speaking, your browser will let you inspect the code of a particular page using View>Source or a similarly named right-click option. The exception is in framesets, where it can take more effort to find the code among the several pages loaded simultaneously...

Posting Permissions

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