[#BloombergLP-bsls-SystemTime-now] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/SystemTime.adoc[SystemTime]::now :relfileprefix: ../../../ :mrdocs: Return the current system time according to the specified `clockType`. == Synopsis Declared in `<bsls_systemtime.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval] now(xref:BloombergLP/bsls/SystemClockType/Enum.adoc[SystemClockType::Enum] clockType); ---- == Description 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. == Return Value current system time according to `clockType` == Parameters [cols="1,4"] |=== | Name| Description | *clockType* | clock used to measure the current system time |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#