Class to create a Datetimepicker (xdan) with more options like conversion