Skip to main content
12-Amethyst
September 15, 2023
Solved

ptcsdatepicker with Date Range enabled having a default start and end time

  • September 15, 2023
  • 1 reply
  • 934 views

I have ptcsdatepicker version 9.3.8 with Date Range enabled, when the control is loading in a mashup, i want to have the start time as "00:00:00" and end time as "23:59:59" as default. But I dont see a property available to set a default value. Can you please assist with it? (sharing a code snippet is much appreciable). 

 

SKannapiran_0-1694753990544.png

 

 

 

Best answer by Sathishkumar_C

Option 1:

You can use 2 expressions to set the "StartDate" and "EndDate" as default value.

 

Option 2:

You can use another 2 date picker and service. From service, you can control the initial date.

1 reply

17-Peridot
September 15, 2023

Option 1:

You can use 2 expressions to set the "StartDate" and "EndDate" as default value.

 

Option 2:

You can use another 2 date picker and service. From service, you can control the initial date.