Multiple MySql dates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • help4me
    New Member
    • Aug 2007
    • 18

    Multiple MySql dates

    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!
  • help4me
    New Member
    • Aug 2007
    • 18

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

    Comment

    Working...