|
|
|
|
![]() ![]() |
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. |
|
|
|
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: [MODERATOR] Posts: 4,085 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
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. |
|
|
|
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 |
|
|
|
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!
|
|
|
|
Oct 26 2006, 12:03 PM
Post
#5
|
|
|
Desperately seeking "any key" to continue... ![]() 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. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 13th October 2008 - 04:46 PM |