I am using time selector in my project in which i split the time in hour,minute,second,am and pm.But on editing how i will bind the AM,PM in the time selector.
please solve my problem....
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Datta KharadPosted Dec 15, 2011, 9:04 AM
You can use this code...
string dt = (DateTime.Now.ToString("HH-mm-ss-tt"));
string[] arrList = dt.Split('-');