>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: