[#BloombergLP-bdlt-CurrentTime-setCurrentTimeCallback] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/CurrentTime.adoc[CurrentTime]::setCurrentTimeCallback :relfileprefix: ../../../ :mrdocs: Set the callback used to retrieve the current time. == Synopsis Declared in `<bdlt_currenttime.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlt/CurrentTime/CurrentTimeCallback-02.adoc[CurrentTime::CurrentTimeCallback] setCurrentTimeCallback(xref:BloombergLP/bdlt/CurrentTime/CurrentTimeCallback-02.adoc[CurrentTimeCallback] callback); ---- == Description Set the specified `callback` as the function to be used to retrieve the interval between `EpochUtil::epoch()` and the current date/time, and return the previously set function. == Return Value the previously installed current‐time callback function == Parameters [cols="1,4"] |=== | Name| Description | *callback* | function used to retrieve the current time |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#