DateServices

Date Services

DateServices Functions

formatDate DateServices.formatDate( date , format ) Formats a Date into a date/time string.
formatDate DateServices.formatDate( milliseconds , format ) See #formatDate(Date, String).
getWorkingDay DateServices.getWorkingDay( fromDate , numDaysAhead ) Returns the working day n days in the future from an origin date, and using the organisational calendar to determine non-working days.
isWorkingDay DateServices.isWorkingDay( date ) Returns true if the date is configured as a non-working day in the organisational calendar, otherwise false.