Mail WebOn AS wrote:
>
> Was looking through the PGAS code and ran into these lines :
>
> # Is there a better way to do this? Probably
> my $day = int($time_left/(60*60*24));
> my $hour = int(($time_left%(60*60*24))/(60*60));
> my $min = int((($time_left%(60*60*24))%(60*60))/60);
> my $sec =
Ronald J Kimball wrote:
>On Fri, Apr 26, 2002 at 09:51:11PM +0200, Mail WebOn AS wrote:
>> Was looking through the PGAS code and ran into these lines :
>>
>> # Is there a better way to do this? Probably
>> my $day = int($time_left/(60*60*24));
>> my $hour = int(($time_left%(60*60*24))/(60*60));
Ronald J Kimball wrote:
> On Fri, Apr 26, 2002 at 09:51:11PM +0200, Mail WebOn AS wrote:
>
>>Was looking through the PGAS code and ran into these lines :
>>
>># Is there a better way to do this? Probably
>>my $day = int($time_left/(60*60*24));
>>my $hour = int(($time_left%(60*60*24))/(60*60));
>
On Fri, Apr 26, 2002 at 09:51:11PM +0200, Mail WebOn AS wrote:
> Was looking through the PGAS code and ran into these lines :
>
> # Is there a better way to do this? Probably
> my $day = int($time_left/(60*60*24));
> my $hour = int(($time_left%(60*60*24))/(60*60));
> my $min = int((($time_left%
Was looking through the PGAS code and ran into these lines :
# Is there a better way to do this? Probably
my $day = int($time_left/(60*60*24));
my $hour = int(($time_left%(60*60*24))/(60*60));
my $min = int((($time_left%(60*60*24))%(60*60))/60);
my $sec = int((($time_left%(60*60*24))%(60*60))%