I want to store PHP\'s microtime as my timestamp in MySQL.
I\'ve been told it\'s best to store it in DECIMAL, but I can\'t find an ideal size.
DECIMAL
Does
Why don't you just store it as a float? That's what microtime(true) returns, so it's the best candidate.
float
microtime(true)