diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-05-09 20:28:56 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-05-09 20:28:56 +0000 |
commit | 61c18056b9f85a789b789e7ddbe6fad09e74d92f (patch) | |
tree | 4f0f8dc315060d65006ea0a4787802be6ff7b8ef /month.php | |
parent | f6f28f72894b5d54e9ded8c72c927bc8168e336f (diff) | |
download | phpicalendar-61c18056b9f85a789b789e7ddbe6fad09e74d92f.tar.gz phpicalendar-61c18056b9f85a789b789e7ddbe6fad09e74d92f.tar.bz2 phpicalendar-61c18056b9f85a789b789e7ddbe6fad09e74d92f.zip |
Added server offset in seconds.
Diffstat (limited to 'month.php')
-rw-r--r-- | month.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ $this_month = $day_array2[2]; $this_year = $day_array2[1]; $unix_time = strtotime($getdate); -$today_today = date ("Ymd"); +$today_today = date ('Ymd', $unix_time); $tomorrows_date = date( "Ymd", strtotime("+1 day", $unix_time)); $yesterdays_date = date( "Ymd", strtotime("-1 day", $unix_time)); $date = mktime(0,0,0,"$this_month","$this_day","$this_year"); |