MoyeDateTimeExtension extension
- on
Properties
- daysInMonth → int
-
Available on DateTime, provided by the MoyeDateTimeExtension extension
returns the number of days in the month of this DateTimeno setter - onlyYearMonthDay → DateTime
-
Available on DateTime, provided by the MoyeDateTimeExtension extension
returns this DateTime without the time informationno setter
Methods
-
getDayMonthYear(
{String splitter = ','}) → String -
Available on DateTime, provided by the MoyeDateTimeExtension extension
02, 01 , 2022 (dd, mm, yyyy) -
getMonthDayYear(
{bool shortMonthName = false}) → String -
Available on DateTime, provided by the MoyeDateTimeExtension extension
November 3, 2022 -
getTime(
{bool is24Hours = false}) → String -
Available on DateTime, provided by the MoyeDateTimeExtension extension
19:02 or 7:02 pm depending onis24Hours
-
getWeekDayDate(
{bool shortWeekDay = false, bool includeSuffix = false}) → String -
Available on DateTime, provided by the MoyeDateTimeExtension extension
Fri 18th or Friday 18th -
getYearMonthDay(
{String splitter = ','}) → String -
Available on DateTime, provided by the MoyeDateTimeExtension extension
2022, 02, 01 (YYYY,MM,DD)