How do I set the Apache server time? Some time functions I am building are 8 hours out.
picker@guitarlesson.tv
picker wrote:php
$time = date("Y-m-d h:i:s");
print($time);
I am in MST. My print out of $time reads 8 hours earlier.
My windows clock is set to MST.
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
[Date]
; Defines the default timezone used by the date functions
;date.timezone =
<?php
[b]date_default_timezone_set("America/New_York");[/b]
$time = date("Y-m-d h:i:s");
print($time);
?>
nothings change...do i have to restart the pc?
how do i know that it is already change?
date
date/time support enabled
"Olson" Timezone Database Version 2007.5
Timezone Database internal
Default timezone Asia/Manila
Users browsing this forum: No registered users and 189 guests