It's too stupid, but you can't do this with only the transform() function, you must "roll your own" function. Not tested..
Function datewithcentury
lpara dDate
local lcCentury, lcDate
lcCentury=set('century')
set century on
lcDate=TRANSF(dDate , "@KE 99/99/99" )
if set(lcCentury='OFF'
set century off
endif
Return lcDate
Wait wind datewithcentury(date())
>Thank edward.
>
>I want only with one transform claus...
>
>bernhart
>
>
>
>>>Hi all,
>>>
>>>Sorry in advance for my stupid question...
>>>
>>>I want a date on format 99/99/99 With transform claus.
>>>
>>>WAIT WIND TRANSF( Date() , "@KE 99/99/99" ) && century off
>>>
>>>This command do'nt function...
>>>
>>>
>>>Thank in advance
>>>
>>>bernhart
>>
>>
>>SET CENTURY on
>>WAIT WINDOW DATE()
>>SET CENTURY off
>>WAIT WINDOW DATE()
>>