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 epochno setter - ddMMyyyy → String
-
Available on DateTime, provided by the InqvineDateTimeExtensions extension
Converts the given DateTime object to a formatted variant. Example: 05/03/2020no setter - diffMonthsFromCurrent → num
-
Available on DateTime, provided by the InqvineDateTimeExtensions extension
Gets the number of months between the supplied DateTime and the current timeno setter - diffYearsFromCurrent → num
-
Available on DateTime, provided by the InqvineDateTimeExtensions extension
Gets the number of years between the supplied DateTime and the current timeno setter - hhmma → String
-
Available on DateTime, provided by the InqvineDateTimeExtensions extension
Converts the given DateTime object to a formatted variant. Example: 12:00pmno 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 Marchno setter - toJiffy → Jiffy
-
Available on DateTime, provided by the InqvineDateTimeExtensions extension
Converts the given DateTime to a Jiffy objectno 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