in reply to DateTime Invalid local time for date in time zone
It looks from the OP like you are parsing time in format seconds:hours:minutes which seems unfamiliar. Are you sure the file has 2AM and not two minutes past midnight? The documentation for DateTime mentions the 2AM problem in an "Invalid Local Times" section.
Ron
In Section
Seekers of Perl Wisdom