The formatString method has been added to the Date object. You can use it to format a date however you please. It takes one parameter that is a template for how you want the date to be formatted.
Below is a table of all the components you can use in your template to get the desired date format.
Template PartResult Type
hh12Current hour using 12 hour clock
0hhCurrent hour using 24 hour clock
hhCurrent hour
mmmThree character month representation
0mmCurrent minute
mmCurrent minute
0ssCurrent second
ssCurrent second
AM or PMReturns whether it is am or pm (uppercase)
am or pmReturns whether it is am or pm (lowercase)
wYYYY4 digit year
wYY2 digit year
YYYY4 digit year
YY2 digit year
MMMFull month title
0MMMonth number prefixed with 0 (if req)
MMMonth number
0WWWeek number prefixed with 0 (if req)
WWWeek number
DDDFull day name
ddd3 char day name
~0DDDay number prefixed with 0 (if req)
DDthDay number with correct suffix (th, rd, st)
DDDay number

These can be combined to create your own date templates to use in your tiddlywiki. For example to display a date like, 27th January 2011 you'd need a template like:
var template = "DDth MMM YYYY";
date.formatString(template);
Or to display a date and time like, 27th Jan 18:54:23
var template = "DDth mmm hh:mm:ss";
date.formatString(template);
bag
tiddlywikidev_public
created
Thu, 27 Jan 2011 11:59:08 GMT
creator
colmbritton
modified
Wed, 09 Mar 2011 11:36:00 GMT
modifier
jon
tags
date
method
theme
TWDocTheme