Methods

dateFormatDate converts a string in the default date format to a Date object
dateFormatStr converts a Date object to a string in the default date format
fullDateFormatDate converts a string in the default date-time format to a Date object
fullDateFormatStr converts a Date object to a string in the full-date format
intFormat converts a number into integer and formats according to the locale defaults.
longDateFormatDate converts a string in the long date format to a Date object
longDateFormatStr converts a Date object to a string in the long-date format
numberFormat formats a number according to the locale defaults
parseFormatDate converts a string in the parsing date format to a Date object
parseFormatStr converts a Date object to a string in the parsing format
parseTimeFormatDate converts a string to a Date object in the parsing format with respect to time
parseTimeFormatStr converts a Date object to a string in the parsing format with respect to the time value
priceFormat formats a number as a price string
setLocale sets the locale in use
timeFormatDate converts a string in the time format to a Date object
timeFormatStr converts a Date object to a string in the time format
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.