InqvineDateTimeExtensions extension

on

Properties

asSecondsEpoch → int

Available on DateTime, provided by the InqvineDateTimeExtensions extension

Converts the given DateTime object to the number of seconds since epoch
no setter
ddMMyyyy → String

Available on DateTime, provided by the InqvineDateTimeExtensions extension

Converts the given DateTime object to a formatted variant. Example: 05/03/2020
no setter
diffMonthsFromCurrent → num

Available on DateTime, provided by the InqvineDateTimeExtensions extension

Gets the number of months between the supplied DateTime and the current time
no setter
diffYearsFromCurrent → num

Available on DateTime, provided by the InqvineDateTimeExtensions extension

Gets the number of years between the supplied DateTime and the current time
no setter
hhmma → String

Available on DateTime, provided by the InqvineDateTimeExtensions extension

Converts the given DateTime object to a formatted variant. Example: 12:00pm
no setter
hhmmadoMMMMyyyy → String

Available on DateTime, provided by the InqvineDateTimeExtensions extension

Converts the given DateTime object to a formatted variant. Example: 12:00pm - Fri the 5th of March
no setter
toJiffy → Jiffy

Available on DateTime, provided by the InqvineDateTimeExtensions extension

Converts the given DateTime to a Jiffy object
no setter

Methods

diffFromCurrent(Unit unit) → num

Available on DateTime, provided by the InqvineDateTimeExtensions extension

Gets a unit difference between the supplied DateTime and the current time