General discussion

Locked

Date and Time

By tptbusines_98 ·
Hello,
How are you doing today?
I am creating my 1st webpage.
I have read 2 books
("XHTML Complete"; Sybex, and "Dynamic HTML In Action"; Microsoft).
Neither book describes how to display the date and time in the example I provide; (06/22/2011 5:15:30 PM).

Also, I want to display the date and time, at the top and bottom of the page.
I'd like to write the script in vbscript or xhtml code.

Can/will someone point me to some examples/sample???

I would be VERY greatful.

Let me know.

I look forward to hearing from you...


Thank you,

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

It's one of those obvious things they feel they they

by Tony Hopkinson In reply to Date and Time

don't need to mention because 'everybody' knows it
Date() will give you the current date and time as date type in javascript.
Something to think about though, this date time.
Is that the time my browser last refeshed the page, or are you after now.
On my machine, ok but why, I have a clock.
On your server, well okay, but why do I care.
Page last updated at X maybe.
Another problem is the machine that updated the page on the same time as the one that serves it.
Look the times on this site, all american, no zone adjustment, don't mean crap to me in the UK...
Just google show date and time on web page, loads of examples.

Back to Microsoft Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums