|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
Perl Monks:
I have an issue I have been attempting to resolve, I have a set of timestamps in 2 groups, lets say the following:
Group 1: 2012-08-17 12:00:00 2012-08-17 13:00:00 Group 2: 2012-08-17 09:00:00 2012-08-17 12:30:00 What I need is to be able to compare the differences between the 2 time stamps in each group, and then find the intersect time and duration between the 2 groups. Expected output should be something like: 2012-08-17 12:00:00 for 30 minutes Any assistance would be greatly appreciated In reply to timestamp manipulation and evaluation by jonathancnewcomb
|
|