Skip to main content

AF Date Time Range Picker

for Unity UI (uGUI)

Four selection modes
Date, Date Range, DateTime, DateTime Range

5 beautiful themes
Arcana Blue, Clean Light, Dark Green, Slate Dark, Unicorn Poop

Set start and end limits
Min / Max dates and times

Flexible time selection
24 or 12 Hour, specific time or range

Customizable UI
Colors, fonts, layout and more

Easy to integrate
Multiple trigger types and event callbacks

AF Date Time Range Picker

Unity 6 / UGUI / TMP / Built-In / URP / HDRP / SRP

Easy Inspector setup / Prefab-based / Full runtime API

Soon on Unity Asset Store

5 beautiful ready to go themes, or make your own

Five themes are included and ready to use. Themes are ScriptableObject assets that control the picker's appearance independently of its functionality. Use one as supplied, edit it, or duplicate an existing theme and create your own via the inspector.

AF Date Time Range Picker - Arcana Blue Theme

AF Date Time Range Picker - Arcana Blue Theme

AF Date Time Range Picker - Clean Light Theme

AF Date Time Range Picker - Clean Light Theme

AF Date Time Range Picker - Dark Green Theme

AF Date Time Range Picker - Dark Green Theme

AF Date Time Range Picker - Slate Dark Theme

AF Date Time Range Picker - Slate Dark Theme

AF Date Time Range Picker - Unicorn Poop Theme

AF Date Time Range Picker - Unicorn Poop Theme

4 selection modes

Choose the mode that matches the data you need: a single date, a date range, a date with time, or a complete date and time range. The same component handles all four modes.

Use as many picker instances as your UI requires. Each instance maintains its own configuration, selection state and events independently. Different instances can use different modes, themes, layouts and settings in the same scene.

Date

AF Date Time Range Picker - Date Mode

Date Range

AF Date Time Range Picker - Date Range Mode

DateTime

AF Date Time Range Picker - DateTime Mode

DateTime Range

AF Date Time Range Picker - DateTime Range Mode

AF Date Time Range Picker works out of the box, while keeping configuration, appearance and internal references separate when you need to change them.

Settings
Optionally configure the selection mode, trigger type, allowed dates, minimum and maximum dates, initial values, date and time formats, first day of the week, selection behavior and Today, Now and Clear controls.

Design
Use one of the included Theme and Layout presets as-is, or edit and duplicate the ScriptableObjects in the Inspector to match your project's UI.

Advanced
Internal UI references are exposed, allowing individual objects to be edited, replaced or rearranged while keeping the picker logic intact.

Standard Unity hierarchy
Supplied prefab uses standard uGUI and TextMesh Pro components that can be styled or replaced as required.

AF Date Time Range Picker - Editor

Features

  • Four selection modes: Date, Date Range, DateTime and DateTime Range
  • Optional minimum and maximum dates, with Past, Today and Future controls
  • 24 and 12 hour time formats with direct input and scroll selection
  • Configurable date, time and range display formats
  • Monday, Sunday or locale-based first day of week
  • Letter, abbreviated or custom weekday labels
  • Optional Today, Now and Clear controls
  • Configurable initial values and close-after-selection behavior
  • Five included Theme presets with custom Theme and Layout ScriptableObjects

Developers

  • Standard Unity uGUI and TextMesh Pro components
    Full C# source included
  • Text, TMP Input Field and Button trigger types
  • Public API for reading, setting and clearing selections
  • SelectedDate, RangeStart and RangeEnd exposed at runtime
  • OnValueChanged, OnOpened and OnClosed UnityEvents
  • Multiple independent picker instances supported in the same scene
  • Internal UI references exposed through the Advanced Inspector
  • Supplied prefab hierarchy can be edited, rearranged or have individual UI objects replaced

Technical details

  • Built for Unity UI (uGUI)
  • Uses TextMesh Pro
  • No third-party dependencies
  • No Asset Store package dependencies
  • Full source - no precompiled runtime DLL
  • Theme and Layout presets stored as ScriptableObjects
  • Compatible with Built-in, URP, HDRP and Custom Render Pipelines
  • Genre and project independent
  • Localization friendly
  • UI Toolkit is not supported