Last year Jake published a really good article (as he generally does) about how to create Ruby style dates in LotusScript. So for example, instead of displaying "28/06/2009 09:35" the page will show "about 30 minutes ago".
So you can download the code here: xpDates.jss
Please let me know if you spot any bugs.
It may not suit all cases, but for the majority of code it's easier than starting from scratch.