ÿþ<Html> <CET_ADSENSEH> <script type="text/javascript"><!-- google_ad_client = "pub-5291624188982543"; /* 728x90, A>740=> 04.02.08 */ google_ad_slot = "9704471239"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </CET_ADSENSEH> <CET_HEADER> <table width="100%" border="0"> <tr> <td width="220"><a href="http://www.chmlib.com"><img src="http://www.chmlib.com/chmlib_logo.gif" alt="CHMlib Logo" width="220" height="93" border="0"></a></td> <td width="240"><div align="center"><span class="style6"><B><a href="http://www.chmlib.com">Free Online Library Of Help Files</a></B><a href="http://www.chmlib.com"><B>.<br> Read help files in convenient way.</B></a></span></div></td><td ><a href="http://www.projetex.com/">Leading Translation Management System for Translation Agencies</a>, <a href="http://www.to3000.com/">Top Translation Management Software for Freelance Translators</a>, <a href="http://www.exactspent.com/">Time Tracking Software</a>, <a href="http://www.anycount.com/">Word Count, Character Count and Line Count Software</a>, <a href="http://www.catcount.com/">Computer Assisted Translation Tool for Easy Word Count</a>, <a href="http://www.clipcount.com/">Clipboard Character Count Software</a>, <a href="http://www.anymem.com/">User-Friendly Translation Memory Software</a>, <a href="http://www.anylexic.com/">Terminology Management Software</a>, <a href="http://www.anylexic.com/Terminology-Management-Software-Server-Features.html">Terminology Management Server</a>, <a href="http://www.winlexic.com/">Microsoft Glossary Software</a>, <a href="http://www.acrolexic.com/">Dictionary of Acronyms</a>, <a href="http://www.langmates.com/">Social Network for Translators and Translation Agencies</a>, <a href="http://www.acronymia.com/">Acronyms and Abbreviations Search Engine</a>, <a href="http://www.translation3000.com/Translation/Russian_Translation.html">Russian Translation Lab</a>, <a href="http://www.translation3000.com/Translation/Ukrainian_Translation.html">Ukrainian Translation Lab</a>.</td></tr></td> </tr> </table> <table width="100%" border="0"> <tr> <td colspan="2" bgcolor="#0099FF"><div align="right" class="style1"> <div align="center"><font color="#FFFFFF">You are reading help file online using chmlib.com</font></div> </div></td> </tr> </table> </CET_HEADER> <Head></Head><Title>PSCCalcWorkDays</Title><Body><font face="Arial"><font SIZE="2"> <P Align="left"> <font SIZE="3"><B>PSCCalcWorkDays function</B></font><BR> </P>Calculates number of working days in the specified dates range.<BR> <BR> <B>function</B> PSCCalcWorkDays(Const StartDate, FinishDate: TDateTime; Const Countries: Array of TPSCCountryID; CustomHolidays: <A href="TPSCHolidayItems.html">TPSCHolidayItems</A>; DefaultHolidays: Boolean; WorkDays: TPSCWeekDays; ExcludeEvent: <A href="TPSCDateSelectedProc.html">TPSCDateSelectedProc</A>): Integer; <BR> <BR> <font SIZE="2"><B>Unit</B></font><BR> <A href="psc_calendar.html">psc_calendar</A><BR> <BR> <font SIZE="2"><B>Description</B></font><BR> Use PSCCalcWorkDays to calculate number of working days which are in the specified dates range. Workling days are calculated as number of all days between StartDate and FinishDate minus all the holidays which occur during that time. Holidays can be specified as country holidays (in this case pass list of countries in the Countries parameter), as custom holidays defined by CustomHolidays or using custom event passed as ExcludeEvent parameter. Any of the parameters of PSCCalcWorkDays can be set to nil. Set DefaultHolidays parameter to True if you want to exclude holidays for the country which is set as default in locale settings in the operating system. WorkDays parameter specify working days during the week (Ex: Mon-Fri).<BR> <BR> <font SIZE="2"><B>See also:</B></font><BR> <A href="TPSCDateSelectedProc.html">TPSCDateSelectedProc</A>, <A href="TPSCHolidayItems.html">TPSCHolidayItems</A><BR> <BR> <HR> <font SIZE="1">Generated by Putersoft.FreeHelp. Copyright © 1999-2002. <A href="http://www.putersoft.com" target="_blank">puterSoft.Com</A></font></font></font> <CET_ADSENSEF> <script type="text/javascript"><!-- google_ad_client = "pub-5291624188982543"; /* 728x90, A>740=> 04.02.08 */ google_ad_slot = "9704471239"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </CET_ADSENSEF> <CET_FOOTER> <table width="100%" border="0"> <tr> <td colspan="2" bgcolor="#0099FF"><div align="right" class="style1"> <div align="center"><font color="#FFFFFF">You are reading help file online using chmlib.com</font></div> </div></td> </tr> </table> <hr align="left" width="650"><BR> If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com </CET_FOOTER> </Body></Html>