dateTime

Description: Shows the current date and time in a page.

JavaDoc: Click here

Body content: Empty. All enclosed content will be ignored.

Attributes:

Name Description Data type Required Default value
showDate If the date should be displayed. Boolean No True
showTime If the time should be displayed. Boolean No True
updateTime If the time should be updated (JavaScript) in the page. Boolean No True
cssClass The class to apply to a DIV container that will only be generated in this situation String No -

Examples:

<dif:document>
   <dif:dateTime/>
   ...
</dif:document>

Back to tag reference