Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

To get date time according to a specified format:.

Prefix

Code Block
date

Attributes

  • #date.dateFormat#

Date Format

Prefix

date

  • #date.[DAY/MONTH/YEAR][+/-]IntegerValue.javaSimpleDateFormat#

Sample Attributes

Code Block
#date.h:mm a# // 12:08 PM
#date.EEE, d MMM yyyy h:mm:ss a# // Wed, 4 Jul 20092014 12:08:56 PM
#date.DAY+7.EEE, d MMM yyyy h:mm:ss a# // Add 7 days on top of current date time - Wed, 11 Jul 2014 12:08:56 PM

Scope of use

  • All components within the App.