Hi Trung,
You can pass the
date with string format inside the moment function.
Find the code
example here:
moment("02/22/2022").format("MMM Do
YY");
|
Find the output
screenshot:
Find the sample
in the attachment:
Note: If this post is helpful, please consider Accepting it
as the solution so that other members can locate it more quickly.
Regards,
Sureshkumar P
Attachment:
sample_c02b1fed.zip