Thursday, 5 July 2018

Salesforce - Formula for taking only Date part from Lastmodifieddate





IF(BEGINS(TEXT(TIMEVALUE(LastModifiedDate)), "04:"),
DATEVALUE(LastModifiedDate+1),
DATEVALUE(LastModifiedDate)
)

No comments:

Post a Comment