Skip to main content
16-Pearl
May 30, 2023
Solved

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

  • May 30, 2023
  • 1 reply
  • 844 views

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 ?

Best answer by Velkumar

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

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