Creating a hour-minute table (every minute of the day)

Hi everyone,

I was wanting to know if there was a way to create a table that contains every minute of the day, for all 24 hours, in 24 hour time format (hh-mm).

Thank you,

1 Like

Hi @Jeff91,.

You can find an example of a time table in the M showcase category.

I hope this is helpful

3 Likes

try this

 List.Transform(List.Times(Time.From(0),60*24,#duration(0,0,1,0)), each Text.Replace(Time.ToText(_),":","-"))

if you do not have a strict requirement on the format and you are happy with the standard, the solution is much shorter

List.Times(Time.From(0),60*24,#duration(0,0,1,0))
2 Likes

This is great, thank you so much

This works too, thank you!!