Salesforce Fact #302 | Get date value from current record in LWC

Suppose we have a use case where we need to get the date value from the CreatedDate of the current record in LWC in YYYY-MM-DD format. With a little tweak of JS date functions, we can get the result.

Attached is the 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