Here are the formats available:
shortdatetime: 3/2/2004 10:35
shortdateUTCtime: 3/2/2004 18:35:27
longdate: March 2, 2004
longdatetime: March 2, 2004 10:38
longdateUTCtime: March 2, 2004 18:40:12
longweekday Tuesday, March 2, 2004
longweekdaytime Tuesday, March 2, 2004 10:41
longweekdayUTCtime Tuesday, March 2, 2004 18:42:18
You can download the source code here.
Download the text file and change it to a iDate.js. The file is commented on how to use it.
Feel free to use it in your projects.