Date.formatDate

Provides simple .NET like date formatting functionality.

Only basic formatting options are provided to allow for minimalistic simple date and time formatting.

date = new Date().formatDate("mm-dd-yy") // 12/01/01 date = new Date().formatDate("yyyy-mm-dd HH:mm") // 2001/12/01 23:59 date = new Date().formatDate("mm/dd/yyyy hh:mmt") // 12/01/2001 11:59pm time = new Date().formatDate("hh:mm:ss t) // 11:59:22 pm


o.Date.formatDate(formatString)                                             

Parameters

formatString


See also:

Class Date


  Last Updated: 7/8/2008 | © West Wind Technologies, 2008