Xpages expression language or xpages JavaScript

I need help to come up with a technique to:
1. Take away dates in xpages [client not using lotus] I am a new in using xpages with no knowledge in xpages expression language or xpages JavaScript.
2. If possible please help me also on how to compute for the Business Days in xpages since there is no xpages function @Business Days.
