Is there any way to get the time down to the Millisecond in MySQL?
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.
MySQL doesn’t support milliseconds in any of the time / date columns, or return it in
NOW()so unfortunately, no.If you have a string in a date / time + microseconds format you can use
SELECT MICROSECOND('1997-12-31 23:59:59.000010');to extract the microseconds.