[#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`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;systemtime&period;h&gt;`

[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`&period; The returned value is the time interval between the reference time point defined for the supplied `clockType` (see &lcub;Reference Time Point&rcub;) and the current time&period;

== 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]#
