开发者

conversion of string representing HH:MM:SS.sss format into HH:MM:SS.ssssss format in python

开发者 https://www.devze.com 2023-01-21 20:22 出处:网络
I have string which is representing time in HH:MM:SS.sss format ,Now i have to convert this sting into HH:MM开发者_JAVA技巧:SS.ssssss format.Please let me know how to do this?Can you not just append \

I have string which is representing time in HH:MM:SS.sss format ,Now i have to convert this sting into HH:MM开发者_JAVA技巧:SS.ssssss format.Please let me know how to do this?


Can you not just append "000" on the end?

So "13:23:12.345" => "13:23:12.345000"

0

精彩评论

暂无评论...
验证码 换一张
取 消