Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old April 17th, 2006, 08:45 AM
sureshsaragadam sureshsaragadam is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Posts: 11 sureshsaragadam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 42 m 48 sec
Reputation Power: 0
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 ?

Reply With Quote
  #2  
Old April 21st, 2006, 06:54 PM
TAK's Avatar
TAK TAK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: North America
Posts: 147 TAK User rank is Private First Class (20 - 50 Reputation Level)TAK User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 21 h 27 m 50 sec
Reputation Power: 5
Send a message via AIM to TAK Send a message via MSN to TAK
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

Reply With Quote
  #3  
Old May 31st, 2006, 07:59 PM
loomit loomit is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 8 loomit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 24 m 22 sec
Reputation Power: 0
Quote:
Originally Posted by sureshsaragadam
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 ?

Try...
toDateString()
toTimeString()

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > Script to display local time


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway