How to get time part from SQL Server 2005 datetime in HH:mm tt format
E.g.
11:25 AM
14:36 PM
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.
One way is:
If you have a look at Books Online here, format 100 is the one that has the time element in the format you want it in, it’s just a case of stripping off the date from the front.