Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
No such thing as a small change
 
PerlMonks  

Re: Sorting Call durations into Timeframes

by tilly (Archbishop)
on May 09, 2009 at 00:15 UTC ( #762975=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Time::Local qw(timelocal);
    ...
            die "Invalid time '$date_time'";
        }
    }
    
  2. or download this
    my $sec_in_week = (get_time($date_time) - $base_time)%(60*60*24*7);
    
  3. or download this
    my $base_time = get_time("20000101000000");
    my @time_start;
    ...
    
    push @time_start, get_time("20000108000000") - $base_time;
    push @time_bucket, "next week";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://762975]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2014-04-16 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (424 votes), past polls