Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
YEAR() ?
Message
From
08/06/2001 10:14:40
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00516651
Message ID:
00516891
Views:
9
Thanks for the suggestion. I will try to remember the TRANSFORM() function, often forget that one.

>If you are using VFP 6 you can use Transform():
>"Budget Year: " + ;
>   IIF(DATE()<= date(YEAR(DATE()), 6, 30), ;
>       TRANSFORM(YEAR(DATE())-1) + " - " + TRANSFORM(YEAR(DATE())), ;
>       TRANSFORM(YEAR(DATE()))   + " - " + TRANSFORM(YEAR(DATE())+1))
Today is tomorrow's yesterday.
Previous
Reply
Map
View

Click here to load this message in the networking platform