From: Kai Schroeder Date: Sun, 9 Feb 2003 12:20:54 +0000 (+0000) Subject: Windows does not support dates prior to midnight, January 1, 1970 X-Git-Tag: RELEASE_0_5~1199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6567abbf40069f105e6fe314f7f595f062785af;p=php Windows does not support dates prior to midnight, January 1, 1970 --- diff --git a/ext/standard/tests/time/002-win32.phpt b/ext/standard/tests/time/002-win32.phpt new file mode 100644 index 0000000000..1d7ef57153 --- /dev/null +++ b/ext/standard/tests/time/002-win32.phpt @@ -0,0 +1,66 @@ +--TEST-- +strtotime() function +--SKIPIF-- + +--FILE-- + +--EXPECT-- +1999-10-13 00:00:00 +1999-10-13 00:00:00 +2000-01-19 00:00:00 +2000-01-19 00:00:00 +2001-12-21 00:00:00 +2001-12-21 00:00:00 +2001-12-21 12:16:00 +2001-12-21 12:16:00 +2001-10-22 21:19:58 +2001-10-22 23:19:58 +2001-10-22 23:32:58 +2001-10-22 19:19:58 +2001-10-22 19:06:58 +1999-10-13 00:00:00 +1999-10-13 00:00:00 +2000-01-19 00:00:00 +2000-01-19 00:00:00 +2001-12-21 00:00:00 +2001-12-21 00:00:00 +2001-12-21 12:16:00 +2001-12-21 12:16:00 +2001-10-22 21:19:58 +2001-10-23 01:19:58 +2001-10-23 01:32:58 +2001-10-22 21:19:58 +2001-10-22 21:06:58