Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by parv (Parson)
on Oct 20, 2021 at 05:14 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-16 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found