Adding date range logic to Utils for atg common and api