- 

Available since OmniFaces 1.0

The builtin managed bean #{startup} returns you the java.util.Date instance representing the server's startup time.

Demo

Raw Date#toString() value of #{startup}: Wed Apr 25 20:40:23 CEST 2018

Formatted date using of:formatDate() function: 2018-04-25 20:40:23

Demo source code
<p>
    Raw <code>Date#toString()</code> value of <code>\#{startup}</code>: #{startup}
</p>
<p>
    Formatted date using <code>of:formatDate()</code> function: #{of:formatDate(startup, 'yyyy-MM-dd HH:mm:ss')}
</p>