When I pull the date out of the db, it comes back like this:
1314718511
1314212730
1314210433
1314210352
I want like this:-
08/31/11 14:43:29 IST
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
date()(http://php.net/manual/en/function.date.php), or theDateTimeclass (http://php.net/manual/en/class.datetime.php) when you want to do transformations (like time zones).