Tagged: "date formatting"

Localized Date Formatting

The $date Viewtool provided by dotCMS allows locale-specific date formatting, but a valid Locale instance needs to be passed to its...

Comparing Dates in Velocity

This code sample will help you learn different ways to obtain today's date and format it. It also shows how you can compare two dates, or one content...