accept timestamps, date objects or strings for date