|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
may i know how to read and display the time and date directly in the web page according to the time in the server that i put in the script so that i can view the time for that server wherever i am?
|
|
#2
|
|||
|
|||
|
You can do that with server tools such as SSI, by echoing the date. JavaScript won't cut it.
|
|
#3
|
|||
|
|||
|
may i know how to using ssi to display the server time in live? thanks.
|
|
#4
|
|||
|
|||
|
Live as in self updating every 1 second? That would require accessing the server that often, which is not recomended from an efficieny point of view. On most sites, they simply display the current date+time as the page was loading.
There are live clock scripts written using DTHML, though they get the time from the client: http://www.dynamicdrive.com/dynamicindex6/index.html |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > server clock |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|