G
Guest
Hello NG!
In my ppc-app i've a textbox, where I want the user to input a time-value,
which is stored in a DataColumn with the DataType System.DateTime.
(Country-Setting of the device is "Germany")
If I try to parse the input "17:00" with
"CDate(...).ToLocalTime" it returns "18:00:00"
"CDate(...).ToUniversalTime" it returns "16:00:00"
??? Which one is the right value or how can I get it?
If I enter "27.01.04 17:00" it returns ""27.01.04 XX:00" . But I only need
the time-part of the DateTime-structure, because later the value is stored
in an MS Access-DB with a "Time"-Format an causes trouble if there is a
date-part in it.
Thanks for any suggestion!
D.Barisch
In my ppc-app i've a textbox, where I want the user to input a time-value,
which is stored in a DataColumn with the DataType System.DateTime.
(Country-Setting of the device is "Germany")
If I try to parse the input "17:00" with
"CDate(...).ToLocalTime" it returns "18:00:00"
"CDate(...).ToUniversalTime" it returns "16:00:00"
??? Which one is the right value or how can I get it?
If I enter "27.01.04 17:00" it returns ""27.01.04 XX:00" . But I only need
the time-part of the DateTime-structure, because later the value is stored
in an MS Access-DB with a "Time"-Format an causes trouble if there is a
date-part in it.
Thanks for any suggestion!
D.Barisch