Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set century
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01013353
Message ID:
01013410
Views:
10
This message has been marked as a message which has helped to the initial question of the thread.
Isn't it the same as
lnYear = INT(YEAR(DATE())%100)+1
?

>I'm not sure why it didn't work for me, but this works:
>
>lnYear = VAL(RIGHT(TRANSFORM(YEAR(DATE())),2))+1
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform