PageRenderTime 39ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/hphp/test/zend/bad/ext/date/tests/date-parse-by-format001.php

http://github.com/facebook/hiphop-php
PHP | 5 lines | 5 code | 0 blank | 0 comment | 0 complexity | e59c4782341490b49ffba77e10fe25ef MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
  1. <?php
  2. $date = "06/08/04";
  3. print_r( date_parse_from_format( '!m/d/y', $date ) );
  4. print_r( date_parse_from_format( '!m*d*y', $date ) );
  5. ?>