How to include milliseconds in a formatted date string?

后端 未结 3 1542
野趣味
野趣味 2020-12-10 14:01

Hi I am coding the following:

String sph=(String) android.text.format.DateFormat.format(\"yyyy-MM-dd_hh-mm-ss_SSS\", new java.util.Date()); 
<
3条回答
提交回复
热议问题