Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ignoring days
Message
 
To
06/04/2006 04:04:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01110880
Message ID:
01110919
Views:
7
>Hi all
>I have a table with two field - order_date and ship_date - I want to know the days from the customer ordered till when we shipped, but I want to ignore from friday an saturday (if we got the order in thursday and we shipped it in sunday it's will be considerd as one day and if we got the order in monday and shipped in wednesday is 2 days).
>Thank's

You may want to consider public holidays in this scenario. This involves keeping the holidays in a table and checking the date to see if it is a holiday in your loop.
Cheers,
Jamie
Previous
Reply
Map
View

Click here to load this message in the networking platform