Connecting Tech Pros Worldwide Help | Site Map

Multiple MySql dates

Newbie
 
Join Date: Aug 2007
Posts: 18
#1: Nov 19 '08
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!
Newbie
 
Join Date: Aug 2007
Posts: 18
#2: Nov 20 '08

re: Multiple MySql dates


For some reason it's working fine today.
Thanks for looking at my post anyway. :)
Reply