FluentDateTime
Object → FluentType → FluentDateTime
The date and time, Unix timestamps must be wrapped in it to be formatted as dates.
Constructor
FluentDateTime(value: number, options: fluent.DateTimeOptions?): FluentDateTimeFields
| Name | Type | Description |
|---|---|---|
value | number | The Unix timestamp in seconds. |
options | fluent.DateTimeOptions | nil | The formatting options, must not be changed since they can be shared. |
Methods
#FluentDateTime:toString
function FluentDateTime:toString(scope?: fluent.Scope): string
Parameters
| Name | Type | Description |
|---|---|---|
scopeoptional | fluent.Scope |
Returns
| Type | Name | Description |
|---|---|---|
string |