# Struts2 Showcase - Freemarker - CustomFreemarkerManager Usage

# Custom Freemarker Manager Usage

This page shows a simple example of using a custom freemarker manager. The custom freemarker manager put into freemarker model an util classed under the name 'customFreemarkerManagerUtil'. so one could use

- $ { customFreemarkerManagerUtil.getTodayDate() } - to get today's date
- $ { customFreemarkerManagerUtil.todayDate } - to get today's date
- $ { customFreemarkerManagerUtil.getTimeNow() } - to get the time now
- $ { customFreemarkerManagerUtil.timeNow } - to get the time now

Today's Date = ${customFreemarkerManagerUtil.todayDate}
Time now = ${customFreemarkerManagerUtil.getTimeNow()}