- 

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}: Fri Jun 18 20:30:25 CEST 2021

Formatted date using of:formatDate() function: 2021-06-18 20:30:25

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>