TDateTime td1 = StrToDate(MaskEdit1->Text);
TDateTime td2 = StrToDate(MaskEdit2->Text);
int total_days = td2 - td1;
int complete_weeks = total_days/7; // integer division!
int days_off = total_...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20114428.html
Zones:
C++Date Answered: 05/18/2001 Rating: 8.8 Views: 0
Hi all,
I have a employee holiday database, its structure is:
EmpNo StartDay EndDay Part
(Part field option: Morning, Afternoon, AllTheDay)
before post a new record, I need to ...
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20148928.html
it took some time and a holiday to join the pack but you did it, congrats!
also want to thank all experts who come in here every day to share their expertise in exchange for a thank you and some...
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Q_203...
Zones:
MS OfficeDate Answered: 11/24/2002 Rating: 5.4 Views: 0
I need to calculate out weekends and holidays. I have the following that does weekends
diffDays := (EndDate - StartDate) / 86400 + 1;
strtDay := @Modulo(@Weekday(StartDate); 7);
endDay := @Mod...
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/Lotus_SmartSuit...
Zones:
Lotus NotesDate Answered: 11/20/2003 Rating: 9.0 Views: 0
Hi Experts
Im generating a weekly report every Monday (usually, except when a holiday lands on the Monday). The From/To dates would range from the Monday to Sunday of the previous week.
In o...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Controls/Q_21118054....
Zones:
VB ControlsDate Answered: 09/03/2004 Rating: 7.6 Views: 0
I need to get the working days between a beginning date and ending date. I have a table that has date.field which shows the mm/dd/yyyy and I have a field that shows H for Holiday W for weekend...
http://www.experts-exchange.com/Database/Miscellaneous/Q_21205224.html
Zones:
DatabasesDate Answered: 11/16/2004 Rating: 7.6 Views: 0
I need to see if there is a way to add custom holidays to Outlook without needing the end-user to add them by using the "Add Holidays" button. Basically, I need this to run via a script or somethin...
http://www.experts-exchange.com/Software/Office_Productivity/Groupware/Outlook/Q_21745598....
If an employee is absent before as well as after one or more consecutive holidays and he has not worked in any of the consecutive holidays then treat all consecutive holidays as absent days. And ...
http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_23565077.html
Zones:
MS SQL ServerDate Answered: 07/28/2008 Rating: 9.0 Views: 0
How can i remove the holidays, once they are activated?
http://www.experts-exchange.com/Software/Office_Productivity/Groupware/Outlook/Q_10212004....
My application is about booking faults and then closing them when they have been resolved.
I need to calculate how long a fault has been open from the Time that it was assigned to a Team to the cu...
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_10314664.html
Zones:
MS AccessDate Answered: 04/06/2000 Rating: 5.0 Views: 0