DP_DateExtension:
Date and Time Formatting Examples

Back to the Main Page

All of these examples assume that the library has been imported as noted in the Documentation.

Formatting Dates

Several examples of date formatting follow (these assume that "CurDate" is a valid JavaScript Date):

Formating Times

Several examples of date formatting follow (these assume that "CurDate" is a valid JavaScript Date):