S
simon
if I convert dt with this function:
dt = DateTime.ParseExact(string, "dd.MM.yyyy h:mm:ss",
System.Globalization.CultureInfo.CurrentCulture)
I get as a result:
dt =#12/24/2003 10:00:00 PM#
but I would like to get without PM and AM:
dt= #12/24/2003 22:00:00#
or in fact:
dt= #24.12.2003 22:00:00#
How can I set that, change the
System.Globalization.CultureInfo.CurrentCulture?
Thank you,
Simon
dt = DateTime.ParseExact(string, "dd.MM.yyyy h:mm:ss",
System.Globalization.CultureInfo.CurrentCulture)
I get as a result:
dt =#12/24/2003 10:00:00 PM#
but I would like to get without PM and AM:
dt= #12/24/2003 22:00:00#
or in fact:
dt= #24.12.2003 22:00:00#
How can I set that, change the
System.Globalization.CultureInfo.CurrentCulture?
Thank you,
Simon