Hello,
I have been using the DateTimePicker Widget and have stumbled across some problems…
I have the usecase where I need the date and the time argument seperately.
Currently I am solving it by using onScreenChange(which is not triggered on showing the DateTimePicker) to track the current screen (date, hour, minute) and the onChange to only get the necessary information via the current screen I am in.
This seems a little complicated… and I was wondering, is there another way?
Also, when using the onChange, it can either supply the handler with one argument or two.
When two arguments are used, the argument’s names are time and date. However, there never seems to be any difference between the date and the time argument.
And is there a way to manipulate the default value that is set for the time? When I use CLEAR, the onChange arguments are undefined which is nice! But when I choose a new date, the date and the time arguments are the same again with a default time of 1 o’clock which is a little confusing.
Greetings Mino
