A DateTime picker for Symfony Console commands
composer require marcin-jozwikowski/console-date-picker
Example usage in Symfony command
protected function execute(InputInterface $input, OutputInterface $output): int
{
$datePicker = new DatePicker($input, $output);
$date = $datePicker->getDate(new YMDPickerDisplay(), "Please provide date ");
$io->success($date->format('Y-m-d H:i:s'));
return Command::SUCCESS;
}