How can I compare to minutes to something like local time

I might not fully understand the problem, but based on minutes being relative to beginning of the week, yes, each minute in your dataset would need to be using a reference date to get a correct datetime.

iex(1)> minutes = 3600
3600
iex(2)> bow = Date.beginning_of_week(Date.utc_today)
~D[2021-09-13]
iex(3)> reference = DateTime.new!(bow, Time.new!(0,0,0))
~U[2021-09-13 00:00:00Z]
iex(4)> DateTime.add(reference, minutes * 60)
~U[2021-09-15 12:00:00Z]