Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: previous and next quarter calculation

by dws (Chancellor)
on Feb 16, 2005 at 07:05 UTC ( [id://431458]=note: print w/replies, xml ) Need Help??


in reply to previous and next quarter calculation

Is there any method to find next and previous quarter starting and ending dates based on the current date, using DateTime or any other date modules?

Try the no modules approach: Table lookup.

I'm serious. You can precalculate and store all of the quarter start and stop dates from now until the Unix clock runs out in less memory that most of the date modules will soak you for.

  • Comment on Re: previous and next quarter calculation

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-23 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found