This function works in almost exactly the same way as The DateAsNumber Function, except that it will also accommodate any time portion in the value passed to it.