>>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.
What part is undocumented? CTOT, HOUR, and MINUTE are all documented. Maybe I'm missing something . . .