I have to times
1. Start Date with time as 16-04-13 22:12
2. End Date with time as 18-04-13 09:12
can anyone guide me as to how split these times into following pattern
Date From To Duration
16-Apr-13 22:12 23:00 Peak
16-Apr-13 23:00 24:00 N.Peak
17-Apr-13 00:00 11:00 N.Peak
17-Apr-13 11:00 23:00 Peak
17-Apr-13 23:00 24:00 N.Peak
18-Apr-13 00:00 09:00 N.Peak
18-Apr-13 09:00 09:12 N.Peak
Duration Criteria is as follows
N.Peak 00:00 11:00
Peak 11:00 23:00
N.Peak 23:00 24:00
I have attached Excel File
Bookmarks