Skip to main content
16-Pearl
May 30, 2023 7:36 PM UTC
Solved

How to make datepicker widget to pass selected date with current time ?

In Datepicker widget, Before Selected date and current time was coming.

Now Selected date is coming with 00:00:00 time. How this change happened in thingworx suddenly ? 
How to make datepicker widget to pass selected date with current time ?

VelkumarAnswer
19-Tanzanite
May 31, 2023 2:44 AM UTC

Hi @AP_10343008 

 

To get the current time value from the DateTime picker widget, enable ''InitializeWithCurrentDateTime"  and disable the "DateOnly" property.

 

Velkumar_1-1685500993316.png

Velkumar_0-1685500967568.png

 

You will get the current time with a selected date value

 

Velkumar_2-1685501073089.png

 

/VR

 

 

1 reply

Velkumar19-TanzaniteAnswer
19-Tanzanite
May 31, 2023 2:44 AM UTC

Hi @AP_10343008 

 

To get the current time value from the DateTime picker widget, enable ''InitializeWithCurrentDateTime"  and disable the "DateOnly" property.

 

Velkumar_1-1685500993316.png

Velkumar_0-1685500967568.png

 

You will get the current time with a selected date value

 

Velkumar_2-1685501073089.png

 

/VR

 

 

Translate