Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Display of DateTime::Duration object in human readable string

by parv (Vicar)
on Oct 20, 2021 at 05:14 UTC ( #11137771=note: print w/replies, xml ) Need Help??


in reply to Re^2: Display of DateTime::Duration object in human readable string
in thread iterating over time with DateTime to obtain values with Astro::Coords

I do not know enough, or care enough to find out currently, about the predicted motions of Moon & Venus. My interest in this thread is due to issues of and with DateTime*.

Q1) Have we agreed that I'm gonna end up with seconds from DateTime::Duration*, and I might as well roll my own days, hours, minutes, seconds from that?

Looks so: I suggested to convert human readable string based on *::Duration documentation; you seem to want to do so.

  • Comment on Re^3: Display of DateTime::Duration object in human readable string
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-12-03 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?