Great! Glad I could point you in the right direction.
~~Bonnie
>Bonnie,
>Yes, your suggestion works as follows:
>
>
>string Test = "14:15:32";
>System.Convert.ToDateTime( Test ).ToString("t")
>
>
>Thank you you very much for your help!
>
>>
>Thank you for your help. I will look up help for this class (that much I can do <g>).>>
>>No problem, Dmitry ... lemme know if you get it working.
>>
>>~~Bonnie
>>
>>
>>>>Dmitry,
>>>>
>>>>If you want it to remain a string, you can use Convert.ToDateTime().ToShortTimeString() or .ToLongTimeString(). (I forget exactly what the formatted string will look like, but you can try it and see).
>>>>
>>>>~~Bonnie
>>>>
>>>>>Is there a function in C# that would convert time from a sting (in VFP table) of the Hour-Min-Seconds format to Hour-Minute am/pm?
>>>>>
>>>>>TIA.