Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug when doing ALLTRIM(STR(YEAR(DATETIME()))) ??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00998519
Message ID:
00998522
Views:
34
>Doing this:
>
>ALLTRIM(STR(YEAR(DATETIME())))
>
>...is returning '005' not '2005' ????
>
>and this...
>
>STR(YEAR(DATETIME()))
>
>...is returning ' 2005' ????
>
>what is the first one not giving me '2005' ???? grrrrrrrr

Victor,

I'm not seeing it. In VFP 9, I get '2005' for the first one and ' 2005' for the second one. I copied the code you posted directly into my command window.

HTH,
Chad
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform