Software Engineer. Stuff and nonsense. The usually short ramblings of Chris McKee.

Converting a Date to MySql Formatted Date

[REPUBLISHED FROM OLD SITE] This is a php coded function provided to allow people to convert dates from standard input format to mysql storage format. /** * function dateconvert * * dateconvert is a handy function to take one of the aches and pains out of mysql * by converting data from a variable (posted from a form or just stored) * into a format mysql will be able to store and converting the * database date back into the british standard of…