You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DateTimePicker always defaults current time to 12am. #4055
I’m using DateTimePicker control in my application and trying to select the current date and time. Only the date part value is getting changed and time is always set to 12am and not current local time. Verified in Wisej.Net 3.0.17 version and attached is the sample application I created for testing. Can you please check and let me know how we can ensure the time is set to current local time.
We are currently using VWG and trying to migrate to Wisej. VWG DateTime picker always return current time in UTC when we select a date from the Calendar, where as Wisej DateTime picker only returns the time set during initialization. How do we ensure that Current time is returned by DateTime picker in Wisej when we select the date from Calendar control?
Activity
itg-assistant commentedon Jun 15, 2026
Luca answered 2023-03-08 15:21:12 UTC
The time is preserved as expected. Your sample uses an invalid time of 0.
itg-assistant commentedon Jun 15, 2026
Behzad answered 2023-03-09 16:58:39 UTC
We are currently using VWG and trying to migrate to Wisej. VWG DateTime picker always return current time in UTC when we select a date from the Calendar, where as Wisej DateTime picker only returns the time set during initialization. How do we ensure that Current time is returned by DateTime picker in Wisej when we select the date from Calendar control?
Thanks
Sathya S