in reply to Time Intervals

Below is the code I am working with.

That is data, not code. Post your code.

What is the best way of doing this?

:) Hire a programmer, or just do it already :)

Use Text::CSV or Text::xSV

Examples at