Skip to main content
16-Pearl
July 30, 2024
Solved

datepicker widget is not giving time with Date

  • July 30, 2024
  • 1 reply
  • 1429 views

Hello all,

     I have changed my thingworx version and import the project from Thingworx 9.1 to 9.3 but my widget datepicker here not giving me time. It only sends the date to qualitytimestamp datatype input service parameter. I have no idea why the same thing was giving me datetime on old version of thingworx and not anymore here. can anyone please let me know about it. Please have a look on the properties of the widget where the time can be show in qualitytimestamp as below:

 

Screenshot 1

 

Jamal8548_0-1722325167077.png

 

Screenshot 2

 

Jamal8548_1-1722325202871.png

 

screenshot 3

Jamal8548_0-1722325303974.png

 

Best answer by Arun_C

Hi @MA8731174 ,

 

In DateTime Picker - Have you checked the property FormatToken - D, MMM, Y - In this case you able to select the Date Only from widget defaultly it take 00:00:00 as time format. If you need time selection you need to format it accordingly  D, MMM, Y HH:mm.

Arun_C_0-1722327044628.png

Kindly refer the below articles for more information.

DateTime Picker Widget

 
Thanks & Regards,
Arun C

 

 

1 reply

Arun_C16-PearlAnswer
16-Pearl
July 30, 2024

Hi @MA8731174 ,

 

In DateTime Picker - Have you checked the property FormatToken - D, MMM, Y - In this case you able to select the Date Only from widget defaultly it take 00:00:00 as time format. If you need time selection you need to format it accordingly  D, MMM, Y HH:mm.

Arun_C_0-1722327044628.png

Kindly refer the below articles for more information.

DateTime Picker Widget

 
Thanks & Regards,
Arun C

 

 

MA873117416-PearlAuthor
16-Pearl
July 30, 2024

Thanks for your input. if i dont write any thing there in the textbox then i am getting datetime both but the thing is in the old version of thingworx even though there was FormatToken - D, MMM, Y - this written but still i was getting time also. and yes if i put D, MMM, Y HH:mm. in the new server then its working for the new server. 

5-Regular Member
July 30, 2024

Hello @MA8731174 ,

 

Good day to you!

So does this mean that you are not facing aforementioned issue? Pls share your current status.

 

Regards,

Bhawna