I am working to develop a site with PHP and SQL Server, here I need to convert the date format of the timestamp unit. I asked google, but I didn’t get clear idea. Kindly let me know, if any one knows.
Share
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.
SQL Server’s
Timestampis an sequential numeric value, but it doesn’t hold any actual date or time information.So it’s not possible to convert it into a date.
See this answer:
Is there a way to get DateTime value from timestamp type column?