Namespace: DateFunctions

DateFunctions

Methods

addDaysToDate()

addHoursToDate()

formatDate(date, datePattern, timePattern) → {String}

Parameters:
Name Type Description
date Date/String Date to format
datePattern String Date formatting-pattern
timePattern String Time formatting-pattern
Returns:
formatted date
Type
String

formatTime()

getDate()

getDayInMonth()

getDayInWeek()

getEndOfMonth()

getHour()

getLastDayInMonth()

getMinute()

getMondayFromWeek()

getMonth()

getSecond()

getWeek()

getYear()

newDate()

toMidnight()