Fix Date Time for FreeBSD and SunOS