Datumsangaben#
Ein Referenzdokument mit einer Auflistung integrierter Komfortfunktionen zur Unterstützung der Datentransformation in Ausdrücken für Datumsangaben.
JavaScript in Ausdrücken
Sie können beliebiges JavaScript in Ausdrücken verwenden. Weitere Informationen finden Sie unter Ausdrücke.
beginningOf(unit?: DurationUnit): Date #
Function parameters#
A valid string specifying the time unit.
endOfMonth(): Date #
extract(datePart?: DurationUnit): Number #
Function parameters#
A valid string specifying the time unit.
format(fmt: TimeFormat): String #
Function parameters#
A valid string specifying the time format. Refer to Luxon | Table of tokens for formats.
isBetween(date1: Date | DateTime, date2: Date | DateTime): Boolean #
Function parameters#
The first date in the range.
The last date in the range.
isDst(): Boolean #
isInLast(n?: Number, unit?: DurationUnit): Boolean #
Function parameters#
The number of units. For example, to check if the date is in the last nine weeks, enter 9.
A valid string specifying the time unit.
isWeekend(): Boolean #
minus(n: Number, unit?: DurationUnit): Date #
Function parameters#
The number of units. For example, to subtract nine seconds, enter 9 here.
A valid string specifying the time unit.
plus(n: Number, unit?: DurationUnit): Date #
Function parameters#
The number of units. For example, to add nine seconds, enter 9 here.
A valid string specifying the time unit.