Namespace: DuDate

DuDate

Date related methods

Methods

staticDuDate.getMonth(string){int}

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 5713
Gets the month number from a literal localized name. 0 is january, 11 is december
Name Type Description
string string The month name
Returns:
Type Description
int The month number

staticDuDate.getMonthName(string){string}

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 5730
Gets the month name from an index. 0 is january, 11 is december
Name Type Description
string int The month index
Returns:
Type Description
string The month name

staticDuDate.toString(date){string}

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 5744
Returns a pretty formatted string representing the date
Name Type Description
date Date The date
TODO
  • format option
Returns:
Type Description
string The date