There is no built in function that will extract only the time part of a datetime field, AFAIK. Assuming that SET CENTURY is ON, you can build a function that will do it:
FUNCTION TTOT
LPARAMETERS ttDateTime
IF VARTYPE(ttDateTime) <> "T"
RETURN ""
ENDIF
RETURN SubStr(TTOC(ttDateTime), 12)
HTH
>What i have to do for format a datetime textfield showing only the HH:MM ( 24h )