Skip to main content


Disabling the selection of weekend days

Suggest edit Updated on July 21, 2021

Help users select valid dates by disabling non-working days, such as weekends, in the Date Time control. By blocking the choice of non-working days in a control, you reduce the number of input errors and improve work efficiency.

For example, if a restaurant is closed on Mondays, you can configure your booking application to block Monday reservations. Note: The control ignores the Disable weekends setting if you select the Use native control on mobile option.
Before you begin: Add a Date Time control to the layout.

For more information, see Adding controls.

  1. Open the view with the control that you want to edit.

    For more information, see Accessing views in your application.
  2. In the configuration pane on the right side of the window, hover over the control, and then click the Edit icon.

  3. On the Presentation tab, select the Disable weekends check box.

  4. Select the calendar that determines the non-working days:

    • To choose a calendar that is associated with the operator, click Default business calendar.
    • To specify a different calendar, select Other calendar, and then choose the target calendar.
  5. Click Apply.

Did you find this content helpful? YesNo

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us