Specific Date Format of multiple dates


I have a string of multiple dates and I want to format it into a specific format.

Example:

Input: 11-01PM-2021,11-30-2021,01-01AM-2022

Expected output: November 01PM, 30 – January 01AM, 2022

Source: JavaSript – Stack Overflow

November 22, 2021
Category : News
Tags: javascript | laravel | php

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.