Preformatted date strings

Not particularily hard to accomplish usually. However there was a few times where looking up and constructing a date using a PHP string can be a pain. This list is fairly comprehensive in common date formats.

Date

Result Raw string
February 17, 2019F j, Y
Sunday February 17th, 2019l F jS, Y
Feb 17, 2019M j, Y
Sun February 17, 2019D F j, Y
17/02/19d/m/y
17/02/2019d/m/Y

Time

Result Raw string
23:37:29H:i:s
11:37:29 pmh:i:s a