<?php
//echo date('d-M-y');
//echo date('d-m-y H:i:s A' , strtotime( '29-APR-13 09.28.12.505032 pm'));
$date = '29-APR-13 09.28.12.505032 PM';
$newDate = str_replace(substr($date, 19, 25), "", $date);
echo $newDate
//echo date("d-m-y H:i:s", strtotime("29-APR-13 09:28:12:505032 PM"));
- Output for 5.4.0 - 5.4.12, 5.4.14
- Parse error: syntax error, unexpected end of file, expecting ',' or ';' in pFJBq on line 7
Process exited with code 255. - Output for 5.4.13
- Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/1Nm72 on line 7
Process exited with code 255. - Output for 5.3.0 - 5.3.22, 5.3.24
- Parse error: syntax error, unexpected $end, expecting ',' or ';' in pFJBq on line 7
Process exited with code 255. - Output for 5.3.23
- Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/1Nm72 on line 7
Process exited with code 255.
preferences:
182.83 ms | 1395 KiB | 47 Q