I need to have 3 different dates (with time) saved in a MySql database. I'm using the following:
[PHP]
$entered= Date("n-j-Y, g:i a");
$began= Date("n-j-Y, g:i a");
$complete= Date("n-j-Y, g:i a");
[/PHP]
They are each being saved from different php pages.
My problem is that it only saves the first as MM-DD-YYYY, H:SS pm. The others only have MM-DD-YYYY.
How do I get the last 2 to look like the 1st one?
Thanks to anyone who can help me!
[PHP]
$entered= Date("n-j-Y, g:i a");
$began= Date("n-j-Y, g:i a");
$complete= Date("n-j-Y, g:i a");
[/PHP]
They are each being saved from different php pages.
My problem is that it only saves the first as MM-DD-YYYY, H:SS pm. The others only have MM-DD-YYYY.
How do I get the last 2 to look like the 1st one?
Thanks to anyone who can help me!
Comment