You need to sign in to do that
Don't have an account?
Raghu.2020
formatting datetime in lwc
Hi,
I would like to format standard custom field 'createddate' into the below format and display in my LWC component.
I would like to format standard custom field 'createddate' into the below format and display in my LWC component.
<lightning-formatted-date-time value={createdDate} year="numeric" month="numeric" day="numeric" hour="2-digit"
minute="2-digit" hour12="true" ></lightning-formatted-date-time>