Bug #28389 Nr of workdays calculation like excel
Submitted: 12 May 2007 16:45 Modified: 3 Oct 2009 18:53
Reporter: Ivo van Kamp Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: User-defined functions ( UDF ) Severity:S4 (Feature request)
Version:5.1 OS:Linux (Xubuntu 7.04)
Assigned to: CPU Architecture:Any
Tags: business days, Contribution, DATEDIFF, networkdays, workdays

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[12 May 2007 22:10] Ivo van Kamp
Bugfix. Misinterpreted day of week..

Attachment: workdays.c (application/octet-stream, text), 4.81 KiB.

[19 May 2007 6:38] Ivo van Kamp
Patch file against 5.0.21 to add a workdays function. Apply with patch -Np0 -i [patchfile] in the root dir of the source tree.

Attachment: mysql-5.0.21.workdays.patch (text/x-diff), 3.68 KiB.