trying to force consistent format for datetime vars