Jump to content

I need to increse 6hours more, and i don't know how???


Fakcon

Recommended Posts

You can set the default timezone of your server with the following code, Please place it at the top of your code:

<?php
date_default_timezone_set('America/Los_Angeles');

$script_tz = date_default_timezone_get();

if (strcmp($script_tz, ini_get('date.timezone'))){
    echo 'Script timezone differs from ini-set timezone.';
} else {
    echo 'Script timezone and ini-set timezone match.';
}
?>

 

If you do not know the code for your timezone you wish to select, find it here! http://www.php.net/manual/en/timezones.php

 

Hope this is what you mean.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.