You sould store the time a user enters your site using Time() then once you query your database use the Date() function to format the time to what you want.