Menu
Hi everyone,
I’ve just created a small form using source Forge’s phpForm creator. The form also collects the date from the server the info in the form was submitted in the form of a date stamp. However, the date format is screwy!
In the php file that processes the form’s input there is a line
$d = date(“l jS of F Y h:i:s A”);
which results in a date format of
Monday 23rd 2015f March 2015 02:56:21 PM
How to I change the php line so all I get is the date in dd-mm-yyyy format with no time?
Thanks in advance