• Documentation
  • Ask a Question
  • Zeroplat.io
  • Documentation
  • Ask a Question
  • Zeroplat.io
  • Introduction
    • Welcome to Zeroplat
    • Video Intro
  • Get Started
    • Requirements
    • Installation
  • Management
    • Resources
    • SaaS
      • Multi-tenancy
      • Editions
    • Permissions
    • Organization Units
    • Language
      • Languages
      • Language Texts
    • Roles
    • User
      • Users
      • Invite Users
    • Audit Logs
  • Visual Builder
    • Overview
    • Resources
      • Menu & Navigation
      • Pages
      • Dashboards
      • Components
      • Generate Pages from Datasource
    • Design
      • JS Query
      • Transformer
      • Variable
    • Event Designer
      • Tasks
        • Execute query
        • Start workflow
        • Show page
        • Close Page
        • Set variable
        • Show notification
        • Set components props
      • Switch
        • If
        • Confirm box
        • Confirm popover
    • Data
    • Preview & Publish
    • Components
      • Common Properties
        • Layout
        • Style
        • Actions
        • Validations
        • Tooltip
      • Inputs
        • Button
        • Input
        • InputNumeric
        • ComboBox
        • MulticolumnCombobox
        • Checkbox
        • CheckboxGroup
        • Switch
        • RadioGroup
        • ToggleButtonGroup
        • LocalizedInput
        • Slider
      • Business
        • OrganizationUnitBrowser
        • RoleBrowser
        • UserBrowser
      • Data display
        • DataGrid
      • Editors
        • QuillEditor
      • Feedback
        • Alert
        • Progress
      • File
        • Dropzone
        • FileButton
        • FileInput
      • Layout
        • SplitLayout
      • Navigation
        • TabBar
      • Pickers
        • DatePicker
        • DateTimePicker
        • DateRangePicker
        • DateCalendar
        • TimePicker
        • IconPicker
      • Surfaces
        • Card
      • Charts
        • AreaChart
  • Backend
    • Overview
  • Integrations
    • Overview
    • Environments
    • Database
      • MS SQL
      • SQL Lite
      • My SQL
      • PostgreSQL
    • API
      • Rest API
      • SMTP
      • Google Sheets
      • Twillio SMS
    • Javascript
      • Variable
      • Transformer
      • JS Query
    • Zeroplat Hosted
      • Zeroplat E-mail
  • Workflow (BPM)
    • Overview
    • Building and managing workflows
    • Inbox
    • Outbox
  • Marketplace
    • Overview
    • Management

DatePicker

6 views 0

Written by Zeroplat
21 September 2025

The DatePicker component provides an intuitive way for users to select dates. It supports customizable formats, default values, validations, and event handling to fit different use cases.

1. Basic Properties

  • Name → Unique identifier for the component (e.g., DatePicker1).
  • Label → Text displayed above the field (e.g., Date picker).
  • Default value → Predefined date when the component loads. For example:
    • {{ new Date() }} → automatically sets today’s date.
  • Placeholder → Displayed when no date is selected.

States

  • Read only → Shows the field without allowing editing.
  • Disabled → Disables interaction.
  • Hidden → Hides the component but keeps it functional.
  • Show clear button → Displays a button to clear the selected date.

2. Layout

Controls placement in responsive grid designs.

📘 See Common Properties → Layout.

3. Events

  • onChange → Triggered whenever the selected date changes.

4. Validations

Supports validations such as required fields, date range checks, or custom logic.

📘 See Common Properties → Validations.

5. Format (Important)

The Format property defines how the date will be displayed. Users can choose from predefined formats or create a custom one.

Examples of Supported Formats

  • MM/DD/YYYY → 04/15/2025
  • YYYY/MM/DD → 2025/04/15
  • DD.MM.YYYY → 15.04.2025
  • YYYY-MM-DD → 2025-04-15 (ISO standard, common for databases)
  • MMM D, YYYY → Apr 15, 2025
  • MMMM D, YYYY → April 15, 2025
  • MMMM DD, YYYY → April 15, 2025
  • yyyy DD, MMMM → 2025 15, April

Custom Format

Users can define a custom format to match their localization or business requirements.

6. Business Use Cases

The DatePicker is typically used in:

  • Selecting a birth date, due date, deadline, or booking date.
  • Filtering records by specific time ranges.
  • Forms where date input must match system or database standards.
  • Multi-language or international apps where regional date formats are important.

7. Style

Custom styles can be applied to adjust visuals such as colors, fonts, and spacing.

📘 See Common Properties → Style.

✅ The DatePicker component is highly flexible and suitable for both simple forms and complex enterprise workflows. Its Format property ensures compatibility with different localization standards and backend systems.

Was this helpful?

Yes  No
Related Articles
  • DateCalendar
  • Progress
  • TimePicker
  • IconPicker
  • DateTimePicker
  • DateRangePicker

Didn't find your answer? Contact Us

Previously
Pickers
Up Next
DateTimePicker
Copyright 2025 Zeroplat.io. All Rights Reserved