Theme
arya
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga
vela
TimeAgo

You've opened this page .

PrimeFaces Extensions was first released .

The next month is .

Source

<p>
    You've opened this page
    <pe:timeAgo value="#{basicTimeAgoController.created}"
                titlePattern="MMMM dd yyyy hh:mm a" style="font-weight:bold" />.
</p>
<p>
    PrimeFaces Extensions was first released
    <pe:timeAgo value="#{basicTimeAgoController.firstRelease}"
                titlePattern="MMMM dd yyyy" style="font-weight:bold"/>.
</p>
<p>
    The next month is
    <pe:timeAgo value="#{basicTimeAgoController.nextMonth}"
                titlePattern="MMMM dd yyyy" style="font-weight:bold"/>.
</p>
            
Components and more
Documentation pe:timeAgo
Attributes (move mouse over the names to see data types)
Name Description
id Unique identifier of the component in a namingContainer.
rendered Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding An el expression referring to a server side UIComponent instance in a backing bean.
value Date, ZonedDateTime or LocalDateTime object to render.
widgetVar Name of the client side widget.
styleClass Style class of the main container element. Default value is null.
style Style of the main container element. Default value is null.
locale String or java.util.Locale representing user locale. Default is a locale specified in view root.
titlePattern Pattern defining how the date object should be formatted in the HTML title attribute.
PrimeFaces Extensions Showcase - © 2011-2023,PrimeFaces: 14.0.5,PrimeFaces Extensions: 14.0.5,JSF: Apache MyFaces JSF-2.3 Core Impl 2.3.10,Server: jetty/9.4.36.v20210114,Build time: 2024-09-10 21:01