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.
In reply to Converting a Date/Time by ralife
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |