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. Advertising

  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. Advertising

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

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. Make_Money_Online

    I'm getting paid on every business day!

    Make_Money_Online, Oct 19, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    258
    Make_Money_Online
    Oct 19, 2006
  2. Replies:
    1
    Views:
    308
    Mike Wahler
    May 1, 2006
  3. Andy
    Replies:
    1
    Views:
    759
  4. Replies:
    2
    Views:
    302
  5. Rob Redmon

    Convert day of year to month, day

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

Share This Page