For the number of us (greater everyday) who live in "contractor-land," where holidays don't exist, this is a very neat function.
I'm very pleased by it for two reasons...
Now, to come up with the platform-specific equivalents...I work in an Oracle/Informix shop