Allow first arg to be a string or object. If string use as date.