Combine a Date and Time

Hi, Hi have a screen where the user have two date attributes. He can select a date (with a datepicker yyyy-MM-dd) but also can select the time (with the TimePicker widget). What is desired is to combine both in other attribute of the same object. So, is it possible to take just the date part from one attribute and take the time from the other one and mix them to create a new date attribute with both elements in one? How I can do it?
1 answers

Why have two attributes? You should both point to the same attribute. Because a data attribute always consist of a date part and a time part. The date part is set with the date picker and the time part can be set with the TimePicker.