in reply to Date::Manip::Delta_Format() format specifiers

This seemed to work:
$delta='0:0:14:6:23:51:0'; $dec=2; @format=('%dh','%hd' ); use Date::Manip; @str=&Delta_Format($delta,$dec,@format); print "$str[0] days $str[1] hours\n";

Replies are listed 'Best First'.
Re: Re: Date::Manip::Delta_Format() format specifiers
by BrowserUk (Patriarch) on Sep 17, 2002 at 18:23 UTC

    Thankyou Enlil. I was completely mis-interpreting the pod on how to supply the format. It could definately do with a few more examples, but I find that a lot.

    Thanks again.


    Cor! Like yer ring! ... HALO dammit! ... 'Ave it yer way! Hal-lo, Mister la-de-da. ... Like yer ring!