How can I convert mysql's TIMESTAMP(2) to php's timestamp format, without losing the decimals?

前端 未结 0 788
南方客
南方客 2021-01-19 11:11

When I use strtotime() on a mysql TIMESTAMP with 2 decimals, it converts to the Unix timestamp integer.

Is there a proper way of converting is so I get something like

相关标签:
回答
  • 消灭零回复
提交回复
热议问题