Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在尝试使用 wxWidgets wxDateTime::ParseFormat() 但希望能够解析到毫秒分辨率。从我读到的内容看来,它似乎只能解析到几秒钟。任何人都可以推荐一个解决这个问题的方法吗?
使用%l格式说明符应该可以工作:
%l
dt.ParseFormat("12:34:56.789", "%H:%M:%S.%l")
你在哪里读到它没有?