>>A shorter version might be:
>>
>>? hour(Ctot( m.cTime )), minute(Ctot( m.cTime ))
>
>Ah, nice trick. Now the date format would not affect it at all.
>
>But since this is undocumented behavior, can we trust it to work in future versions of VFP? ;-) (sorry, couldn't resist)
>
>Thanks for posting this.
Absolutely, because it is already documented:)
Cetin