hi Naomi,
i serach something as :
a = somedate
if MINUTE( CTOT( TTOC(A))) > 0
return 'T'
else
return 'D'
endif
>You need to use ttoc for the datetime value.
>Do you now want to find out the type of the string variable depending on
>'20110114'
>
>vs.
>
>'20110114092723'
>?
>
>>sorry for my poor english....
>>
>>first sample
>>
>>a = dtoc( datetime() , 1 )
>>
>>? something() return 'T'
>>
>>
>>second sample
>>
>>a = dtoc( date() , 1 )
>>
>>? something() return 'D'
>>
>>
>>
>>>Bernhart,
>>>
>>>maybe I have a bad day, but I don't understand what you want.
>>>
>>>>hi all,
>>>>
>>>>a = dtoc( datetime() , 1 ) OR a = dtoc( date() , 1 )
>>>>
>>>>I want a formule that give "T" or "D" when i type A
>>>>
>>>>how can i have this ?
>>>>
>>>>
>>>>thank in advance
>>>>
>>>>bernhart