 |
DateTime.ToString() Patterns
Paul Hayman (72205 views)
DateTime.ToString() Patterns
All the patterns:
||0|| MM/dd/yyyy|| 08/22/2006 ||
||1|| dddd, dd MMMM yyyy|| Tuesday, 22 August 2006 ||
||2|| dddd, dd MMMM yyyy|| HH:mm Tuesday, 22 August 2006 06:30 ||
||3|| dddd, dd MMMM yyyy|| hh:mm tt Tuesday, 22 August 2006 06:30 AM ||
||4|| dddd, dd
|
 |
Date and Time Functions
Barrington Haynes (3073 views)
Date and Time Functions
Here's a handy reference for all of your JavaScript date/time needs.
||'''Function'''||'''Description'''||'''Returned Values'''||
||getDate(), getUTCDate()||Day of the month||1-31||
||getDay(), getUTCDay()||Day of the week (integer)||0-6||
||getFullYear(), getUTCFu
|