locating the nearest business day

Discussion in 'Perl Misc' started by garhone, Nov 9, 2006.

  1. garhone

    garhone Guest

    Hi,

    I'm trying to figure out, given a date, which is the next closest
    business day, AFTER the given date. I've tried looking at Date::Manip
    and Date::Calc modules, but am getting nowhere.

    I think it's a combination of functions that can achieve this, but so
    far, I've only gotten
    Date::Calc's Day_of_Week to see if today is a business day.

    Any help would be appreciated.

    Thanks.
     
    garhone, Nov 9, 2006
    #1
    1. Advertisements

  2. garhone

    SSS Guest

    garhone wrote:
    > Hi,
    >
    > I'm trying to figure out, given a date, which is the next closest
    > business day, AFTER the given date. I've tried looking at Date::Manip
    > and Date::Calc modules, but am getting nowhere.
    >
    > I think it's a combination of functions that can achieve this, but so
    > far, I've only gotten
    > Date::Calc's Day_of_Week to see if today is a business day.
    >
    > Any help would be appreciated.
    >
    > Thanks.
    >


    Using Date::Manip, e.g. next business day after today:

    DateCalc("today","+ 1 business days")
     
    SSS, Nov 10, 2006
    #2
    1. Advertisements

  3. Tad McClellan, Nov 10, 2006
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stylus Studio
    Replies:
    0
    Views:
    538
    Stylus Studio
    Feb 17, 2006
  2. Make_Money_Online

    I'm getting paid on every business day!

    Make_Money_Online, Oct 19, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    313
    Make_Money_Online
    Oct 19, 2006
  3. Replies:
    1
    Views:
    356
    Mike Wahler
    May 1, 2006
  4. eGenix Team: M.-A. Lemburg
    Replies:
    0
    Views:
    341
    eGenix Team: M.-A. Lemburg
    Jul 2, 2007
  5. GOOD LUCK GROUP
    Replies:
    0
    Views:
    594
    GOOD LUCK GROUP
    Apr 28, 2008
  6. Andy
    Replies:
    1
    Views:
    1,016
  7. Replies:
    2
    Views:
    429
  8. Rob Redmon

    Convert day of year to month, day

    Rob Redmon, Apr 4, 2008, in forum: Ruby
    Replies:
    7
    Views:
    576
    Alex Wayne
    Apr 4, 2008
Loading...