2020年12月22日星期二

How can i convert this date into dddd, MM/DD, hh:mm A format [duplicate]

I am new in JS and dates world. I have this string date here

12/22/2020, 1:14:09 PM  

How can i convert it so at the end i would have

Tuesday, 12/22, 01:14 AM  

or

Tuesday, 12/22, 01:14 PM  

dynamically AM and PM

https://stackoverflow.com/questions/65408711/how-can-i-convert-this-date-into-dddd-mm-dd-hhmm-a-format December 22, 2020 at 08:24PM

没有评论:

发表评论