I want to display date and time format something like this "May 23 at 12:30pm"
.
I saw in PHP manual and found:
// Prints something like: Monday 8th of August 2005 03:12:46 PM
echo date('l jS \of F Y h:i:s A');
After modification I manage to get
echo date('M j \of h:i a');
it is giving me "May 23 of 12:30pm"
but when i replacing of
with at
it is giving me "May 23 a23 08:26 pm"
.
I don't what is going wrong.