Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date functions
Message
From
23/02/1999 12:53:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Date functions
Miscellaneous
Thread ID:
00190541
Message ID:
00190541
Views:
46
Hello:

I'm having a little trouble with this code. I want to pick up if the
century.

Can I use left() function here? What I have isn't working.

if left((year(date())),2) = 20
set century to 20
else
set century to 19
endif

Any input would be appreciated. Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform