I have made a very messy function for this that splits the string up does all kinds of stuff but I was wondering if anyone has a 1 or 2 line function for gettting a uk date dd/mm/yyyy (it is a string)to mysql version YYYY-MM-DD and then back again. ta, R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php