Administering : Managing business rules and expressions : Business rules definitions : DateFormat business rule
  
DateFormat business rule
The DateFormat business rule is used to extend the options to configure the date format to a customized value.
Prerequisites
A date attribute that triggers the business rule
A business rule container to enter the business rule
Format
In the business rule container attribute, enter the business rule in the following format:
=DateFormat("Date Attribute","SimpleDateFormat")
Parameters
 
Parameter
Description
Date Attribute
This is a date attribute, the last changed date or the created date.
SimpleDateFormat
This parameter allows you to choose any user-defined pattern for display format of date.
SimpleDateFormat pattern
Result
"yyyy.MMMMM.dd GGG hh:mm aaa"
2013.April.26 AD 03:41 PM
"yyyy.MM.dd G 'at' HH:mm:ss z"
2013.02.26 AD at 03:41:36 PDT
"EEE, d MMM yyyy HH:mm:ss Z"
Fri, 26 Apr 2013 03:41:36 -0700
"EEE, MMM d, ''yy"
Fri, Apr 26, '13
"h:mm a"
03:41 PM
"w"
Week of the year: 17
("w" indicates the week of the year.)
Go up to
Business rules definitions