Alan Bourke wrote: > Anyone got a cut-and-paste function for calculating days used? > > For example if a day is taken as being 6am - 6pm, then I pass it two > dates and times and it returns the number of days used. > > If it's going to involve anything more than cutting and pasting some > code into a reply on anyone's part, please don't waste time on it. It > was just in case someone had that already. > I think there's a class that already does that in DotNet. <gd&r>
-- Michael J. Babcock, MCP MB Software Solutions, LLC http://mbsoftwaresolutions.com http://fabmate.com "Work smarter, not harder, with MBSS custom software solutions!" _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.