aboutsummaryrefslogtreecommitdiffstats
path: root/month.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-05-09 20:28:56 +0000
committerChad Little <clittle@users.sourceforge.net>2003-05-09 20:28:56 +0000
commit61c18056b9f85a789b789e7ddbe6fad09e74d92f (patch)
tree4f0f8dc315060d65006ea0a4787802be6ff7b8ef /month.php
parentf6f28f72894b5d54e9ded8c72c927bc8168e336f (diff)
downloadphpicalendar-61c18056b9f85a789b789e7ddbe6fad09e74d92f.tar.gz
phpicalendar-61c18056b9f85a789b789e7ddbe6fad09e74d92f.tar.bz2
phpicalendar-61c18056b9f85a789b789e7ddbe6fad09e74d92f.zip
Added server offset in seconds.
Diffstat (limited to 'month.php')
-rw-r--r--month.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/month.php b/month.php
index f06ca77..532deb4 100644
--- a/month.php
+++ b/month.php
@@ -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");

© 2014-2024 Faster IT GmbH | imprint | privacy policy