[#TimeOffsets-Median] = xref:TimeOffsets.adoc[TimeOffsets]::Median :relfileprefix: ../ :mrdocs: Compute and return the median of the collected time offset samples. The median is returned as 0 when there are less than 5 samples. == Synopsis Declared in `<node/timeoffsets.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e3a947338)]] std::chrono::seconds Median() const; ---- == Return Value The median observed time offset, or 0 seconds when fewer than 5 samples exist. [.small]#Created with https://www.mrdocs.com[MrDocs]#