BOAW
Feb 19 2006, 02:13 PM
| | My Webpage If you check here in my site in my Login block called "user info" at the bottom it tells u the "server time". Well that server time for me is wrong. This is what is displayed
QUOTE Server Time · Time 14:06:53 · Date 19 Feb 2006 · Timezone +0000
The Date is right but the Timezone and Time are just way off. My Timezone should be -500. What do i have to do to fix this? Is it in my cpanel or do i have to go edit this block itself?? |
Reply
sportytalk
Feb 19 2006, 04:44 PM
The time on your page is displaying the time received straight from the server's time (most probably by using the php date function). If you were to fine tune this, lets say forward or backwards an hour, then the timezone should theoretically add the difference between your time and the time of this server (which is actually in Grenwich Mean Time (GMT - British Time.)). p.s. If you need another time code that allows you to fine tune the time, just reply. But the reasons explained above are what's happening to your site. Hope this helps :-)
Reply
Amezis
Feb 19 2006, 05:16 PM
Just a quick note. The British time is based on UTC, not GMT. On 1 January 1972, GMT was replaced as the international time reference by Coordinated Universal Time (UTC). That's over 30 years ago.
Reply
Spectre
Feb 19 2006, 05:33 PM
Hmm, not entirely true. Although UTC has superceded GMT, the term GMT is still commonly used in reference to timezones (ie. GMT+ x). Anyway, this error is purely related to the PHP script being used, and has nothing to do with cPanel (I've got no idea where you're headed with that one...) In order to display the difference to GMT, simply call the date() function including 'O' in the format string, which will display the GMT difference in hours. For example: CODE echo 'Timezone: ' . date('O');
Reply
sportytalk
Feb 19 2006, 05:47 PM
hehe, I believe both GMT and UTC are acceptable today Whilst we are on the subject of server time, does anyone know the timezone of the Cron System (in relation to GMT [GMT +x])? Was trying to have a task carried out at 7pm GMT, but it happens at 3am or something like that. I thought it was 8 hours ahead, but the timezone doesn't seem to be consistent.
Reply
Similar Topics
Keywords : server- Dohwow
- 4 my private server (2)
- Php Without Server
- (6)
I have just recently bought a laptop and would like to use PHP for local reasons on it, but I am not
allowed to setu p a local webserver because it would slow down our already crappy internet. Is there
a way for me to run local PHP without using Apache or any other webserver for purely local uses....
Php Pages Permission On Apache Server
- PHP pages permission on Apache Server (1)
Hello, I want to know what permissions for PHP pages should be given on Apache web server so that
PHP pages can be executed. If PHP pages are in a folder, what permissions should be given for that
folder? ...
Can Php Interact With A Visual Basic App On A Server
- (8)
I am currently making a game. And I want to use a command through php to ineract with a visual
basic app on my server. Is it possible? and how?...
Php Server Time
- (4)
i think i may asked this question awhile back but i never really got it solved. ok..i had a block
that told me the server time info or whatever. and the GMT wus at 00:00 i wanted to change it to
-5:00 but i didnt know how, so how can i change it? im not sure of the codes in the php to change it
to the right GMT time becuase im always gettn the wrong times n day...
Wappyftp V1.00
- upload to server via ftp from your mobile phone :-) (8)
wappyFTP v1.00 by wappy --- site: http://cult.trap17.com mail: admin@cult.trap17.com --- -Welcome
to wappyFTP, with this wap script your users can upload files directly to their server via FTP from
a mobile phone! --- -Its extremley easy to install, open index.php and put the name of your site
instead of YOURSITE.COM -Upload the folder wappyFTP_v1.00 to the root directory of your web server
-Link to it like wappyFTP_v1.00/index.php -Its all done ENJOY --- YOU MAY DISTRIBUTE AND/OR EDIT
THIS SCRIPT BUT DO NOT REMOVE THE AUTHORS NAME! --- ©2006-2007 wappyCULT /...
I Need Webmail On My Server
- (so admins on my site can access it) (0)
Right now, if i go to the cpanel of my site, I can access webmail of any of the email addresses I
have. Unfortunatly, I would prefer it if the administrators did not know the password to the
cpanel. I want them to be able to access mail from 1 of the email accounts. I have tried letting
all the admins access the account through their own cliants, but it became a mess, not knowing wich
admins have responded to which emails, because most emails are hosted localy when received by
cliants such as outlook. Then I had the idea of making one page, with webmail on it. Where...
Logging Dowload Files From Your Server Onto A Html File
- (1)
Well, i had the idea of logging the downloads from my web in a html file few weeks ago, and i solved
it with a lil php page included in my homepage. You could name the links with a name like
"download.php?file=filename.ext" and then, in the download.php put the next code: (well you put
the html and head and body tags if u want, i only write the php here) CODE <? if
(isset($_GET['file']))
$file=$_GET['file']; //so it gets the GET data from url
(file=filename.ext); $ip=$_SERVER[...
Parsing Html As Php
- and XAMPP as the server version on Windows (7)
On my Trap17 account here, I have an .htaccess file with the following declaration which (I think)
forces all html files to be parsed by the PHP Parsing engine and therefore I can insert snippets of
php scripts into html files. CODE AddType application/x-httpd-php .html .htm However, when I
add an .htaccess file to the local directory of the version of XAMPP on my local machine, it fails.
I have tried to add the .htaccess file to the htdocs folder and elsewhere, but it still doesn't
work to parse html through the php parser. Any ideas on how to get these htm...
Email Server Help Please
- I need noob detailed help on setting up a email server on windows XP (0)
Hello I would like to say thank you for any help you might give me. I'm new to Apache / PHP and
MySQL I have all them up and running propertly I think. I want to make a PHP online game and I need
to set up an email server so I can have and authincation system. When the player creates an account
I want the computer to email the player a link the have to click on to make there account active.
I have a Comcast 8mbits broadband connection My server is running at http://192.168.1.105 My
PHPinfo file is http://192.168.1.105/phpinfo.php My FormMail File http://192...
Does Gd Use Much Server Ressources?
- (0)
Well, my topic title is pretty descriptive. Does GD use much server ressources, is it heavy to run,
or is it light and flawless just like a normal PHP script? If I use GD much, should the images be
cached? And by the way, I don't know how to cache images. I know how to create them, but I
can't manage to store them in a folder, and then check that folder to see if the file is already
cached. If it's not, the PHP script will create it....
Php And Asp.net Form
- server control html component (6)
does this sort of feature can be done in php. http://www.w3schools.com/aspnet/aspnet_forms.asp or
how and what are the differences.. thanks /huh.gif' border='0' style='vertical-align:middle'
alt='huh.gif' /> ...
Php & Apache Server
- PHP & Apache Server (7)
I want to install PHP. For this I have downloaded Apache Server. But I am not able to configure it.
If anybody knows how to configure it, please let me know. Without Apache Server I am not able to
configure PHP. I have also tried one of the installation file available on internet which
automatically performs all installation tasks, but it also does not solve my problem....
I'm setting up punBB
- Why won't the db server work? (2)
What is it?...
Looking for server, time
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for server, time
*MORE FROM TRAP17.COM*
|
advertisement
|
|