fixing command line date stuff