Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the End of the Month
Message
From
26/03/1999 21:27:42
 
 
To
26/03/1999 00:44:04
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00199069
Message ID:
00202655
Views:
20
This is good, but keep in mind that a formula that uses some VFP functions is usual MUCH faster than a UDF using the same VFP functions.

Vlad

>Hiya Dragan,
>My contribution...
>
*!***********************************************
>*!
>*!       Function: EOMTH
>*!
>*!***********************************************
>FUNCTION EOMth
>PARAMETER dt
>RETURN GOMONTH(BOMth(m.dt), 1) - 1
>
>*!***********************************************
>*!
>*!       Function: BOMTH
>*!
>*!***********************************************
>FUNCTION BOMth
>PARAMETER dt
>RETURN m.dt - DAY(m.dt) + 1
>
>But I gotta admit I haven't been following the whole thread
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform