hiphop-php /hphp/test/zend/good/ext/date/tests/date-lenient.php

Language PHP Lines 13
MD5 Hash 334dbcc319f1f613428c9f35fab668fc Estimated Cost $170 (why?)
Repository git://github.com/facebook/hiphop-php.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<?php
$date = "06/08/04 12:00";
print_r( date_parse_from_format( 'm/d/y', $date ) );
print_r( date_parse_from_format( 'm/d/y+', $date ) );
print_r( date_parse_from_format( '+m/d/y', $date ) );
print_r( date_parse_from_format( 'm/d/y++', $date ) );

$date = "06/08/04";
print_r( date_parse_from_format( 'm/d/y+', $date ) );
print_r( date_parse_from_format( '+m/d/y', $date ) );

?>
Back to Top