in reply to More date conversion happiness

pass the arguments to a function
foodate(date,mon,year)
then use regexp and other validations (dont forget leap year ;-) to validate date
convert it to the format u require
hope this helps ;-)