You are here:
Date Functions for Formulas
Use date functions to adjust or calculate values from dates. For example, you can add time, find time until, and extract a day of the week from date fields. The arguments for date functions are date fields.
When entering a formula, use the API name of the field in the expression, not the label. The parameters section is surrounded by parentheses. For example, you can enter the following expression.
datediff(ClosedDate, CreatedDate)Date and Time Function Considerations
Keep these behaviors in mind when working with date and time functions.
- These functions are relative to when the batch data transform runs.
nowcurrent_datecurrent_timestampto_unix_timestamp
- All date and datetime functions are based on the UTC time zone.
- When Custom Time Zone Support is enabled, date functions and DateTime functions are separated. When it’s disabled, the functions are grouped together.

