G
Guest
I have a table that contains two fields (OrigDateTime and TermDateTime
If the date_time stamp in orig is Friday 02/20/2004 11:00:00 A
and the date_time stamp for term is Monday 02/23/2004 11:00:00 A
I would calculate the duration between the two dates as so
((term - Orig) * 86400 = 259200 seconds
This will give me total number of seconds from start to end
But I need to remove the duration of time that is weekend time
The answer should be
((term - Orig) * 86400 = 86400 seconds
Any thoughts?
If the date_time stamp in orig is Friday 02/20/2004 11:00:00 A
and the date_time stamp for term is Monday 02/23/2004 11:00:00 A
I would calculate the duration between the two dates as so
((term - Orig) * 86400 = 259200 seconds
This will give me total number of seconds from start to end
But I need to remove the duration of time that is weekend time
The answer should be
((term - Orig) * 86400 = 86400 seconds
Any thoughts?