fork download
  1. <?php
  2.  
  3. print_r(date_parse ('10/05/2018 17:48:27'));
Success #stdin #stdout 0.02s 23708KB
stdin
Standard input is empty
stdout
array(12) {
  ["year"]=>
  int(2018)
  ["month"]=>
  int(10)
  ["day"]=>
  int(5)
  ["hour"]=>
  int(17)
  ["minute"]=>
  int(48)
  ["second"]=>
  int(27)
  ["fraction"]=>
  float(0)
  ["warning_count"]=>
  int(0)
  ["warnings"]=>
  array(0) {
  }
  ["error_count"]=>
  int(0)
  ["errors"]=>
  array(0) {
  }
  ["is_localtime"]=>
  bool(false)
}