Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: previous and next quarter calculation

by dws (Chancellor)
on Feb 16, 2005 at 07:05 UTC ( #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
Node Status?
node history
Node Type: note [id://431458]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2020-10-27 06:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (256 votes). Check out past polls.

    Notices?