Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 9th, 2006, 12:56 AM
Registered User
 
Join Date: Feb 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Date diff excluding holidays and weekends

Hi Friends,

I need help on 2 accounts:-
1) If a date & time are outside business hours then need to convert to the next business hour.
eg - if date is 9 feb, 5 AM then it should be converted to 9 feb 9AM and if 9 is a holiday then it should be converted to 10 feb 9AM.
Same is the case if it is 9 feb 6:30 PM then it should be converted to 10 feb 9 AM

2) I need to find out number of working hours between 2 dates. This should exclude weekends and holidays.

I have tried everything in ASP to incorporate the above 2 requirments, but no go.

So pls help..

Alton





Similar Threads
Thread Thread Starter Forum Replies Last Post
DateDiff to exclude weekends and holidays dbartelt Access 2 April 12th, 2008 05:14 PM
Including some records and excluding others RussLewis XSLT 2 March 3rd, 2008 12:36 PM
DateDiff?? ( w/o weekends... ) underscore10304 Access VBA 7 January 24th, 2006 08:55 AM
Excluding Rows fs22 SQL Language 2 August 17th, 2005 12:58 PM
Calculate Workdays minus holidays woodan Access 1 February 11th, 2004 04:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.