A getHours12 method has been added to the Date object. Any date object will be able to return the current hour using a 12 hour clock.
The function can be use like this:
var date = new Date();
date.getHour12();
It would return 4.
bag
tiddlywikidev_public
created
Thu, 27 Jan 2011 11:59:35 GMT
creator
colmbritton
modified
Wed, 09 Mar 2011 12:21:00 GMT
modifier
jon
tags
date
method
theme
TWDocTheme