DateTimePicker Plugin

by Anish

2

plugin icon

DateTimePicker Plugin

DateTimePicker is a Godot Android plugin that provides native Android Date Picker, Time Picker, and DateTime Picker

Installation

  • download latest release from releases.
  • unzip the release archive.
  • copy addon folder to your Godot project's root directory.
  • enable the plugin via the Plugins tab of Project->Project Settings... menu, in the Godot Editor.

Methods

  • pickDate(): Displays a date picker dialog. Emits the onDatePicked signal when a date is selected.

  • pickTime(is24HourView: bool): Displays a time picker dialog. Emits the onTimePicked signal when a time is selected.

    • is24HourView: If true, the time picker will display in 24-hour format. If false, it will display in 12-hour format.
  • pickDateTime(is24HourView: bool): Displays both date and time picker dialogs in sequence. Emits the onDateTimePicked signal when both are selected.

    • is24HourView: If true, the time picker will display in 24-hour format. If false, it will display in 12-hour format.

Signals

  • onDatePicked(date: Dictionary)
    • day: Selected day
    • month: Selected month (1–12)
    • year: Selected year
  • onTimePicked(time: Dictionary)
    • hour: Selected hour (0–23)
    • minute: Selected minute (0–59)
  • onDateTimePicked(deteTime: Dictionary)
    • day: Selected day
    • month: Selected month (1–12)
    • year: Selected year
    • hour: Selected hour (0–23)
    • minute: Selected minute (0–59)

Demo Project

You can try this plugin using Demo Project

Screenshots

1000187047
1000187048

Version

1.0.0

Engine

4.2

Category

Tools

Download

Version1.0.0
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author