|
Boost : |
From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2006-02-26 08:36:02
On 2/25/06, Jeff Garland <jeff_at_[hidden]> wrote:
>
> Shouldn't we stick to the current set of format strings which is
> consistent
> with the current standards?
>
> cout << time_format("%H:%M:%s") << my_ptime << endl;
I'm a huge fan of strftime, but being built around "struct tm" it has no way
of knowing about fractional seconds and so there are no %-escapes for
formatting them. Do you have any thoughts on how a format might be
expressed for ptime, which can clearly be used to carry a much higher
resolution timestamp?
-- Caleb Epstein caleb dot epstein at gmail dot com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk