Opened 13 years ago
Last modified 12 years ago
#3398 new Feature Requests
boost::posix_time::time_duration accesser for obtaining milliseconds
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | Boost 1.41.0 | Component: | date_time |
Version: | Boost 1.40.0 | Severity: | Problem |
Keywords: | Cc: | vicente.botet@… |
Description
Hey guys:
It would be really nice to get the milliseconds of time in boost::posix_time::time_duration. There is only an option to get the total_milliseconds(), which gives the result of the total milliseconds that have passed in that day. Although I can take this and compute hours, minutes, seconds and milliseconds from it, it is a bit of a pain in the ass to do it that way.
It would be much nicer if I could just call a function to give me the millisecond remainder from seconds. You have accessers like this for hours, minutes, and seconds, so why not milliseconds?
Change History (2)
comment:1 by , 13 years ago
Component: | None → date_time |
---|---|
Owner: | set to |
comment:2 by , 12 years ago
Cc: | added |
---|