Optional
amount: DurationInputArg1Optional
unit: DurationConstructorOptional
time: MomentInputOptional
formats: CalendarSpecOptional
unitOfTime: DiffOptional
precise: booleanOptional
format: stringOptional
suffix: booleanOptional
withoutSuffix: booleanOptional
other: MomentInputDetermines whether an object has a property with the specified name.
A property name.
Optional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfOptional
granularity: StartOfOptional
inclusivity: "()" | "[)" | "(]" | "[]"Determines whether an object exists in another object's prototype chain.
Another object whose prototype chain is to be checked.
Optional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfOptional
keepLocalTime: booleanOptional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanOptional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanOptional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanOptional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanDetermines whether a specified property is enumerable.
A property name.
Optional
amount: DurationInputArg1Optional
unit: DurationConstructorOptional
suffix: booleanOptional
keepOffset: booleanReturns a date converted to a string using the current locale.
Optional
withoutPrefix: booleanReturns a string representation of an object.
Optional
keepLocalTime: booleanOptional
keepLocalTime: booleanUnix timestamp in milliseconds
The initial value of Object.prototype.constructor is the standard built-in Object constructor.