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
December 19, 2018F j, Y
Wednesday December 19th, 2018l F jS, Y
Dec 19, 2018M j, Y
Wed December 19, 2018D F j, Y
19/12/18d/m/y
19/12/2018d/m/Y

Time

Result Raw string
07:04:18H:i:s
07:04:18 amh:i:s a