[#absl-Milliseconds-013] = xref:absl.adoc[absl]::Milliseconds :relfileprefix: ../ :mrdocs: `Milliseconds` overloads == Synopses Declared in `<absl/time/time.h>` Constructs a `Duration` from a floating‐point number of milliseconds. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, /* implementation-defined */ = 0> xref:absl/Duration.adoc[Duration] xref:absl/Milliseconds-01f.adoc[Milliseconds](T n); ---- [.small]#xref:absl/Milliseconds-01f.adoc[_» more..._]# Constructs a `Duration` from an integral number of milliseconds. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, /* implementation-defined */ = 0> constexpr xref:absl/Duration.adoc[Duration] xref:absl/Milliseconds-04.adoc[Milliseconds](T n); ---- [.small]#xref:absl/Milliseconds-04.adoc[_» more..._]# == Return Value A duration of `n` milliseconds. == Parameters [cols="1,4"] |=== | Name| Description | *n* | The number of milliseconds. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#