how can i format this strign <field name="Starttime">00:00:00:00</field> to TimeSpan 
i receive a datetime from automation system like this 00:00:30:00.

when i try to parse it to time span i get this error  : Input string was not in a correct format.

what kind of format can help me to convert this to timespan.

BTW : i use C# language

Best regards

Brahim
how can i format this strign <field name="Starttime">00:00:00:00</field> to TimeSpan 
===

i receive a datetime from automation system like this 00:00:30:00.

when i try to parse it to time span i get this error  : Input string was not in a correct format.

what kind of format can help me to convert this to timespan.

BTW : i use C# language

Best regards

Brahim