Thanks for your post Ian,
I removed my original code in the head section as posted above and inserted Dave's code. Then on the 3 date fields in my form I appended the code as such:
<?php echo ((isset($_POST["StatusActiveDate"]))?i8_formatUKDateMySQL($_POST["StatusActiveDate"]):""); ?>
<?php echo ((isset($_POST["StatusCompDate"]))?i8_formatUKDateMySQL($_POST["StatusCompDate"]):""); ?>
<?php echo ((isset($_POST["StatusNPWDate"]))?i8_formatUKDateMySQL($_POST["StatusNPWDate"]):""); ?>
When I now open the form and insert date or if the fields are left blank it inserts '0000-00-00' into each field in the database, in the details page however it just returns 01-01-1970!!
Any ideas where I am going wrong, I really need the fields to be blank if nothing is entered, yet accept uk value if datepicker is used?
Insert page attached if it helps anyone.
Thanks again