sorry naomi...
we have a string.
A = "20110114172907"
B = "20110114"
is a string with a datetime value ....or.... date value ?
? something( a ) = 'T'
? something( b ) = 'D'
is better ?
>>hi Naomi,
>>
>>
>>i serach something as :
>>
>>
>>a = somedate
>>
>>
>>if MINUTE( CTOT( TTOC(A))) > 0
>>return 'T'
>>else
>>return 'D'
>>endif
>>
>>
>>
>I think you need to describe the whole problem, as it's impossible to understand the question.