Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String conversion problem
Message
From
09/05/2005 03:04:52
 
 
To
09/05/2005 02:50:26
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01012102
Message ID:
01012106
Views:
17
>Dear Experts
>
>Please correct this command line
>
>a=alltrim(substr(str(YEAR(date())),1,4))
>
>I want to extract last two characters of year i.e. 05
>
>Please help
? RIGHT(STR(YEAR(DATE()),4),2)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform