Skip to main content
12-Amethyst
Sep 15, 2023 5:05 AM UTC
Solved

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

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

 

 

 

17-Peridot
Sep 15, 2023 11:48 AM UTC

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
Sep 15, 2023 11:48 AM UTC

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.

Translate