Yes I got character as a char (unicode) where ascii value is an 8 bit value (byte).
Cetin
>No I didn't. I asked how to get the ASCII value of a character.
>
>>Kevin,
>>You asked how to convert char (unicode) to byte. But substring returns a string.
>>System.Text.Encoding.ASCII.GetBytes(sString) would return a byte[].
>>As I see you need it to validate a time string. Then you might instead directly use DateTime class' Parse.
>>Cetin