Whyt don't you just use the following two UDFs instead?
DateCalc() - Calculates Days between or returns calculated Date (Days as modifier)
SerialDate() - Convert dates to numbers (and back) for the purpose of performing date
_________________________
There are two types of vessels, submarines and targets.