From: Chuck Hagenbuch Date: Fri, 22 May 2009 13:56:51 +0000 (-0400) Subject: add example/debug parser X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2fcb67b79e985632c558b5e5212e0d631d1352f6;p=horde.git add example/debug parser --- diff --git a/framework/Date_Parser/examples/Horde/Date/Parser/parse.php b/framework/Date_Parser/examples/Horde/Date/Parser/parse.php new file mode 100644 index 000000000..8f8768319 --- /dev/null +++ b/framework/Date_Parser/examples/Horde/Date/Parser/parse.php @@ -0,0 +1,10 @@ + 1 ? array() : array('now' => new Horde_Date('2006-08-16 14:00:00')); + +$d = Horde_Date_Parser::parse($t, $opts); +echo "$d\n";