Welcome Guest ( Log In | Register)



 
Closed TopicStart new topic
> Time Zone Setting
4dsystems
post Oct 26 2006, 02:30 AM
Post #1


Newbie [Level 2]
**

Group: Members
Posts: 29
Joined: 18-October 06
Member No.: 31,854



Help! Guys!
I have a php script which shows me the time and I think the server time set differently. Is there any way I can change my individual time zone. It looks very odd on the web page. I am using the Indian Standard Time.
Go to the top of the page
 
+Quote Post
jlhaslip
post Oct 26 2006, 02:43 AM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,085
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



Check in the Php Language Topic.
There is a calendar / yahoo thread which discusses how to mod the time relative to the server time. Buffalohelp is the original poster on that thread if it helps.
Go to the top of the page
 
+Quote Post
Plenoptic
post Oct 26 2006, 09:57 AM
Post #3


Trap Double Mocha Member
***************

Group: [HOSTED]
Posts: 2,224
Joined: 5-November 05
From: That one place over there...
Member No.: 13,830



If you can't find that, I found a tutorial you can use. http://www.purephotoshop.com/view.php?id=8 It shows the many different ways you can post the time and date.

CODE
<?php date('D M j G:i:s T Y'); ?>


The T in the code is the time zone you can type in. I don't know exactly if it changes the time according to that time zone though. You might have to test it. Also I don't know how much of the date and time you want to show. This page has a chart explaining what all the letters show. http://www.phpspot.com/tutorials/index.php?id=1
Go to the top of the page
 
+Quote Post
4dsystems
post Oct 26 2006, 11:50 AM
Post #4


Newbie [Level 2]
**

Group: Members
Posts: 29
Joined: 18-October 06
Member No.: 31,854



Thanks Guys that have been very helpful... I have set my time right now! Thanks a ton!
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Oct 26 2006, 12:03 PM
Post #5


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,497
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



Topic resolved: now closed.

If you would like to continue this discussion please PM a moderator.
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Help setting up .info(5)
  2. Please Help! Setting Up Website...(3)
  3. Mysql Database Setup : Setting Up Mysql Database(6)
  4. Setting Up Anonymous Ftp Access(6)
  5. Setting Up A Remote Mysql Connection(2)
  6. Setting Up Mailbox Account Problem(2)
  7. Setting Up Board(4)
  8. Need Help For Setting Up Blog.(3)
  9. Setting Up Domain For Invisionfree(1)
  10. Problem Setting Up Addon Domain As Allowed Number Is 0 [resolved](2)
  11. Setting Up Ftp Accounts(4)
  12. I Need Help With Setting Up My Site, Made Using Java(5)


 



- Lo-Fi Version Time is now: 13th October 2008 - 04:46 PM