
Pictured above is a function that will calculate the number of days off (Saturday and Sunday only) at a specified time period.

And for the picture above it is composed of 2 pieces of the sub with the following explanation:
1. sub Hitung: as a procedure to insert values (the initial period and period end) which will be calculated by the function GetHariLibur
2. sub DateTimePickerTglAkhir_ValueChanged: as procedures that take advantage of dateTimePickerTglAkhir event, so every time change period end date, then the function will automatically calculate the number of days off during the period.

So with the above, then the above is a sample calculation program interface this holiday, which I attach the source code on this blog on the "My Shared Files" which, if necessary, sample applications Holidays calculation this can be downloaded. if anyone can I help you please ask.
Thank You.
Tidak ada komentar:
Posting Komentar