today()

The today() function returns the current (UTC) date.

Syntax

today()

Argument Description
None This function does not accept any arguments.

Where Available

  • Field Editability expression
  • Tab Visibility expression
  • Dynamic Filter
  • Rename Section
  • Form Field Label
  • Embedded Section URL attribute
  • Business rules: Condition
  • Business rules: Assign Role
  • Business rules: Create Work Item
  • Business rules: Notification Subject
  • Business rules: Notification Body
  • Business rules: Set Value
  • Business rules: URL Call

Examples

Where Example(s)
Set Value (to a date attribute) today()
Field Editability

Tab Visibility

Business rules: Condition

Stage_1_Date__c > today()
Business rules: Call URL

Embedded Section URL attribute

{!if(Stage_1_Date__c > today()),URL1__c, URL2__c)}
Business rules: Notification Subject

Business rules: Notification Body

Dynamic Filter

{!Stage_1_Date__c} is {!today()}

*enclose the standard today() inside {!..} to inject the expression into a text string

 

Updated on April 23, 2021

Related Articles