Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quarter() in FPD
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00885291
Message ID:
00885576
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
Whoops, Fabio's right there's an off by one (sort of) error. Here's the correct code
FUNCTION Quarter

PARAMETER tdDate

PRIVATE m.result
m.result = CEILING(MONTH(tdDate) / 3)
RETURN m.result
Sorry,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform