You need to sign in to do that
Don't have an account?
Wei Guan @ SFDC
How do I change date format of input date
Hi, experts!
My client uses
<lightning-input type="date" name="input1" label="Enter a date" ></lightning-input>
They are unable to format the date selected using datepicker or the calendar on that field. Currently the date what the end user is selected in the input fields is in MON DD YYYY format.
Is there anyway to format the date selected as MM/DD/YYYY?
My client uses
<lightning-input type="date" name="input1" label="Enter a date" ></lightning-input>
They are unable to format the date selected using datepicker or the calendar on that field. Currently the date what the end user is selected in the input fields is in MON DD YYYY format.
Is there anyway to format the date selected as MM/DD/YYYY?
--
Magulan Duraipandian
www.infallibletechie.com