[#BloombergLP-bsls-SystemTime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::SystemTime :relfileprefix: ../../ :mrdocs: This `struct` provides a namespace for system‐time‐retrieval functions. == Synopsis Declared in `<bsls_systemtime.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct SystemTime; ---- == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/SystemTime/now.adoc[`now`] | Return the `TimeInterval` value representing the current system time according to the specified `clockType`. The returned value is the time interval between the reference time point defined for the supplied `clockType` (see {Reference Time Point}) and the current time. | xref:BloombergLP/bsls/SystemTime/nowMonotonicClock.adoc[`nowMonotonicClock`] | Return the `TimeInterval` value representing the current system time according to the monotonic clock. The returned value is the time interval between the reference time point for the monotonic clock (see {Reference Time Point}) and the current time. | xref:BloombergLP/bsls/SystemTime/nowRealtimeClock.adoc[`nowRealtimeClock`] | Return the `TimeInterval` value representing the current system time according to the real‐time clock. The returned value is the time interval between the reference time point for the real‐time clock (see {Reference Time Point}) and the current time. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#