Make call to date(1) more compatible