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
April 19, 2019F j, Y
Friday April 19th, 2019l F jS, Y
Apr 19, 2019M j, Y
Fri April 19, 2019D F j, Y
19/04/19d/m/y
19/04/2019d/m/Y

Time

Result Raw string
04:17:12H:i:s
04:17:12 amh:i:s a