date math
From: Andrew Gaffney (agaffney_at_skylineaero.com)
Date: 03/28/04
- Next message: R. Joseph Newton: "Re: warn ?!"
- Previous message: Randy W. Sims: "Re: warn ?!"
- Next in thread: Andrew Gaffney: "Re: date math"
- Maybe reply: Andrew Gaffney: "Re: date math"
- Maybe reply: Andrew Gaffney: "Re: date math"
- Maybe reply: Chris Charley: "Re: date math"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Mar 2004 18:52:52 -0600 To: beginners <beginners@perl.org>
I'm looking for a way to do some date math. I'm working on a payroll tracking system. I
want to provide a list of 2 week periods for the user to select. These periods start from
a hard-coded known start of pay period date. I want it to display the 6 most recent 2 week
periods. For example, my known start of pay period date is '2004-03-21.'. I want to count
off 2 week periods from that. So, my program should be able to give me '2004-03-21 -
2004-04-03', '2004-04-04 - 2004-04-17', '2004-04-18 - 2004-05-01', etc. Once I have my
list, I can then find out which ones are the most recent and display them to the user. I
also need to be able to determine if a certain date is between 2 dates. I really only need
help with the date math part. Everything else I can do. Is there a module that can help me?
-- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548
- Next message: R. Joseph Newton: "Re: warn ?!"
- Previous message: Randy W. Sims: "Re: warn ?!"
- Next in thread: Andrew Gaffney: "Re: date math"
- Maybe reply: Andrew Gaffney: "Re: date math"
- Maybe reply: Andrew Gaffney: "Re: date math"
- Maybe reply: Chris Charley: "Re: date math"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|