>Nadya,
>
>>If you think I don't know how to read and use Help, you're mistaken.
>
>LMAO! Hey, I meant no disrepect - just trying to help out. Sometimes we all forget the command we are looking for (happens to me all the time) so I thought I would post the command and some help since I had to check out the command's syntax anyway.
>
>I'm a bit confused by your goal - does this snippet give you any ideas?
>
>
>lcYear = right( transform( year( date() ) + 1 ), 2 )
>set century to 19 rollover &lcYear
>for i=0 to 20
> ?ctod('01/01/'+ transform(m.i))
>next
>
>
>Malcolm
I works while Yuri's code doesn't!
E.g. this works:
lnYear = 6
set century to 19 rollover 6
for i=0 to 20
=MESSAGEBOX(ctod('01/01/'+ transform(m.i)))
next
The only minor problem would be with the dates from current year...
If it's not broken, fix it until it is.
My Blog