NYCPHP Meetup

NYPHP.org

[nycphp-talk] Business day calculations

Ophir Prusak prusak at gmail.com
Tue Nov 23 14:07:30 EST 2004


How are you defining what a business day is ?
Different businesses have different holidays :)


On Tue, 23 Nov 2004 12:36:19 -0500, Faber Fedor <faber at linuxnj.com> wrote:
> Before I go and reinvent the wheel...
> 
> I need to do things like getPreviousBusinessDay() and
> getLastBusinessDayofMonth() in a PHP-based dashboard I'm writing.  I
> Googled for such code and checked out PEAR but I didn't find anything
> appropriate.  Am I missing something or has a PHP programmer never
> needed to do a getPreviousBusinessDay() type function before?
> 
> --
> 
> Regards,
> 
> Faber
> 
> Linux New Jersey: Open Source Solutions for New Jersey
> http://www.linuxnj.com
> 
> _______________________________________________
> New York PHP Talk
> Supporting AMP Technology (Apache/MySQL/PHP)
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.newyorkphp.org
>



More information about the talk mailing list