icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » PHP code output is wrong

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old February 19th, 2006, 8:11 PM   #1 (permalink)
SuP3r G33k
On a golden path...
 
Joined in Mar 2005
Lives in Ohio
Hosted on SH67
313 posts
Gave thanks: 0
Thanked 0 times
PHP code output is wrong

I am working with a simple PHP script but the output of the code is wrong. IT is a simple date and time stamp. It works but displays the wrong time. I am in a GMT time zone is it's like the script is not working off of GMT.

Here's the code
Code:
<?php
echo(gmstrftime("It is [day number %j] %A on %B %d, %Y, %X - Your Time Zone: %Z",time()));
?>
I am new to PHP so I have no idea what I am doing LOL.
Evolution-8 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On