https://github.com/syntaxerror247/godot-date-time-picker
A Godot Android plugin for selecting dates, times, or both using native dialogs.
https://github.com/syntaxerror247/godot-date-time-picker
Last synced: 11 months ago
JSON representation
A Godot Android plugin for selecting dates, times, or both using native dialogs.
- Host: GitHub
- URL: https://github.com/syntaxerror247/godot-date-time-picker
- Owner: syntaxerror247
- License: mit
- Created: 2025-01-24T14:34:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-27T18:31:00.000Z (over 1 year ago)
- Last Synced: 2025-02-01T03:36:16.252Z (over 1 year ago)
- Language: Kotlin
- Size: 125 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DateTimePicker Plugin [](https://github.com/sponsors/syntaxerror247)
**DateTimePicker** is a Godot Android plugin that provides native Android **Date Picker**, **Time Picker**, and **DateTime Picker**
## Installation
- download latest release from [releases](https://github.com/syntaxerror247/DateTimePicker/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](demo)***
## Screenshots

