|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
What Script it is ? DHTML / javascript ;
I Want to display the current local time of a specific place
www.dynamicdrive.com/dynamicindex6/localtime.htm this link above seams to be the best solution for me, i am using apache and server side php scripting the code of the above link is javascript, DHTML or PHP Script? descrption of the above link says it is DHTML and the webpage you're adding it to must be either PHP (ie: .php), ASP, or SSI (ie: .shtml) enabled. in the code of the about link first line is like this Code:
<script type="text/javascript"> can i use this code with apache and php on the server side ? |
|
#2
|
||||
|
||||
|
If you are just looking to display the date, why not do it in PHP:
<?php // Ex. Monday 1st of January 2000 01:00:0 AM echo date('l dS \of F Y h:i:s A'); ?> Possibilities are endless: http://ca3.php.net/date |
|
#3
|
|||
|
|||
|
Quote:
Try... toDateString() toTimeString() |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Script to display local time |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|