Updated for freebsd, Version 2 Revision 3 ( includes date functionality )