GetDateFromUser function

I needed to get a date in a simple way and despite wxPython offering wx.GetNumberFromUser and wx.GetTextFromUser, there appears no simple way to get a date.
I offer up GetDateFromUser a custom modal Dialog that fills the hole.

It uses minidatepicker, thus has the ability to customise the calendar and the output format.
Works with wx.DateTime or python datetime values
Uses locale to enable different languages for the calendar.

minidatepicker: See A wx.DatePickerCtrl with a customisable format - #2 by rolfofsaxony

GetDateFromUser.py (5.0 KB) minidatepicker.py (18.9 KB)