BrowserUk has asked for the wisdom of the Perl Monks concerning the following question:
I've been having trouble working out how to use the format specifiers for Date:::Manip::Delta_Format().
If I have a delta as returned from DateCalc() in the same module that looks like +0:0:14:6:23:51:0 representing a period of 14 weeks, 6 days, 23hrs and 51 minutes, and I would like to use Delta_Format() to present this as 104 days 23.85 hrs
I thought that a format of '%dh %hd' would achieve this, but was wrong. Can anyone enlighten me?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Date::Manip::Delta_Format() format specifiers
by Enlil (Parson) on Sep 17, 2002 at 18:18 UTC | |
by BrowserUk (Patriarch) on Sep 17, 2002 at 18:23 UTC | |
|
Re: Date::Manip::Delta_Format() format specifiers
by jsprat (Curate) on Sep 17, 2002 at 18:19 UTC |