Fix as.Date code to work on both OSX and Linux.  Removed support for %X parse token, which is system dependent.