diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-07-27 20:09:00 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-07-27 20:09:00 +0000 |
commit | c5d605e27e211dc512e9123b966736baadba6b85 (patch) | |
tree | 78963927d36695a6a101047853519ac11cbc29be /lib/common/BoxTime.h | |
parent | ef3b18abba3defefcb421bc89a5688bb60440947 (diff) |
Add a function to format a BoxTime as a human-readable time only
(for use in logging).
Diffstat (limited to 'lib/common/BoxTime.h')
-rw-r--r-- | lib/common/BoxTime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common/BoxTime.h b/lib/common/BoxTime.h index e62a77ab..2023db36 100644 --- a/lib/common/BoxTime.h +++ b/lib/common/BoxTime.h @@ -40,4 +40,6 @@ inline uint64_t BoxTimeToMicroSeconds(box_time_t Time) return Time; } +std::string FormatTime(box_time_t time, bool showMicros = false); + #endif // BOXTIME__H |