<?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';
$new_date = substr($date,0,18).substr($date, 25,28);
$new_date = str_replace(".", ":", $new_date);
echo $new_date;
$elapsed_time = round(abs(date("d/M/Y h:i:s A") - $new_date) / 60,2));
- Output for 5.3.0 - 5.3.22, 5.3.24, 5.4.0 - 5.4.12, 5.4.14
- Parse error: syntax error, unexpected ')' in YqiW8 on line 8
Process exited with code 255. - Output for 5.3.23, 5.4.13
- Parse error: syntax error, unexpected ')' in /in/mMvCa on line 8
Process exited with code 255.
preferences:
169.39 ms | 1399 KiB | 47 Q