From: Kai Schroeder Date: Sun, 9 Feb 2003 12:09:42 +0000 (+0000) Subject: Windows does not support dates prior to midnight, January 1, 1970 X-Git-Tag: php-4.3.2RC1~304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2108d66d2bfcaf1382d56a6ae2b7e9a566375bb8;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