Add helper for array and date