Convert time format 12 to 24 hour format

Hello everyone

Thankful for your answers

I need to convert a Time data that is in 12 format to 24 format
to save it in Mysql, how can I do it?

for example 08:00:00 PM to 20:00:00


Raul Juarez Pulache

If this is coming from a Date object, the easiest way is to use the SQLDateTime property.