Salesforce Fact #391 | NOW() vs TIMENOW()

Do you know we have two datetime functions: NOW() & TIMENOW(). NOW() returns the specific time including the date and also considering the time zone for the current user whereas TIMENOW() returns only time value and that also in GMT.

For more details, please check: https://developer.salesforce.com/docs/atlas.en-us.formula_date_time_tipsheet.meta/formula_date_time_tipsheet/formula_using_date_datetime.htm

Attached is an example screenshot.


 

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow