Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return Next Non-Weekend Date
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00791392
Message ID:
00791394
Views:
17
>Does anybody have a routine that given a date, will return the next non-weekend date?
>
>Thanks in advance

Hi Kirk,

Try
? ldDate + IIF(DOW(ldDate)>5,9-DOW(ldDate),1)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform