ralife has asked for the wisdom of the Perl Monks concerning the following question:
Example: Bucket Duration : 600 sec (10 min) Input: S_TIME CountOfMsg 5/19/2008 6:12:44 PM 4 5/19/2008 6:17:44 PM 4 5/19/2008 6:22:44 PM 4 5/19/2008 6:27:44 PM 4 5/19/2008 6:32:44 PM 4 Output: Interval Bucket CountOfMsg 5/19/2008 6:12:00 PM 8 5/19/2008 6:22:00 PM 8 5/19/2008 6:32:00 PM 4 I am having problems when I enter the time (in the current format) int +o a perl hash to compare if its < or > the interval.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Converting a Date/Time
by pc88mxer (Vicar) on Jun 10, 2008 at 18:08 UTC | |
by ralife (Novice) on Jun 10, 2008 at 18:20 UTC | |
by pc88mxer (Vicar) on Jun 10, 2008 at 18:30 UTC | |
|
Re: Converting a Date/Time
by Corion (Patriarch) on Jun 10, 2008 at 18:20 UTC |