OK, it's a trivial problem but I'll answer to anyway. Is there a simple way to get the date and time in expression language inside your pages, without writing Java code?
The answer is of course yes, it's simple to do in a declarative manner. You will need to create a basic managed bean definition in your JSF configuration. So for example I might add the following definition for a bean called "now" to my adfc-config.xml file:
That's enough to ensure that a Date object called "now" is available on the request map and is re-created (i.e. refreshed) on every roundtrip. This can then be referenced inside of your page:
<af:convertDateTime type="both" timeZone="CET"/>
Notice how I've specified the timezone I want to see here as the result of the new Date() creation will be the date in UTC / GMT.
There you are, short and sweet.