I need to convert the datetime that is 24 hour format, and have to show it as 12 hour format. I got answers as , convert it into string as 12 hr format and show as string.
But I need to show as date time format. So i have used Convert.ToDateTime(datetime), but it again change datetime into 24 hour format , any better way to convert 12 hour format ?
Thanks in advance.