accomodated Mac OS X version of date command