954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How do I store date and time with miliseconds in MySQL?

Hey

Im looking to store date and time with miliseconds in TIMESTAMP column but it seems to be a new feature so Im not sure exactly how to store it. current_timestamp() doesnt allow me to do this.

Im willing to change the column to some other datatype as the database is new and for now, nothing depends on it.

How can I do it?

Thanks

riahc3
Posting Pro
545 posts since May 2008
Reputation Points: 50
Solved Threads: 2
 
pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You