Hi All, Bumped into a situation where I need to convert datetime to human readable time string (like Francesco).
To keep it a simple one liner, I was trying to do this: ? HB_TTOC( HB_DATETIME(), "", "HH:MM:SS" ) And it resulted in " 12:34:56", note the leading space. Then I tried to use NIL instead of "", but that gave worse result. Can it be implemented to not include date component at all, when NIL is passed as format? Or if this isn't possible; to omit space separator when empty string is passed as date format? [ I don't like recently added HB_TTOD() because I need to use a temp variable just to extract time component. ] Brgds, Viktor _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour