CSSScript Demos

Azar Datepicker Demos

Download Back To CSSScript.Com

Add a Jalali or Gregorian date/time picker to any input with Azar Datepicker.

01 Jalali

Auto-loaded Jalali Date

Loads the current Jalali date into the field and keeps the clear button enabled.

02 DateTime

Gregorian Date and Time

Uses Gregorian datetime mode with a custom input format and a separate output format.

03 Time

Time-only Picker

Shows the current time on load and skips the calendar view entirely.

04 Range

Jalali Date Range

Limits selection to dates from 1405/01/01 through 1405/06/31.

05 Min / Max

Gregorian Range with Auto Load

Restricts Gregorian dates to 2025-01-01 through 2026-12-31.

06 Pinned

No Calendar Toggle

Hides the calendar switcher and keeps the picker open after a date is selected.

07 LTR

Jalali Calendar in LTR Layout

Forces left-to-right direction while keeping the Jalali calendar active.

08 Events

Callback Log

Updates the live log when onSelect, onChange, or onClear fires.

Waiting for a picker event.
09 Extended

Attribute Setup and Theme Refresh

This extended section adds a data-attribute datetime field and keeps the original dark-mode refresh behavior available for every picker.