DateTime field bug or feature?

I have a DATETIME field with the format (dd.MM.yyyy) to show only the date.
I duplicated this field on the layout and gave it the format (HH-mm).

I thought in one field I can set the date and in the other the time, but they override them.

Is this a bug or a feature. But what are the features of this behavior?

Dieter

It is not a bug, it is ‘normal’ behaviour.

I have bumped into this too and I solve this by loading the values into two different globals and bind them together after leaving one of the fields or the form. You can do it like:

-enter

globals.seconddate = currentdate;
globals.secondtime = currentdate;

-exit

currentdate = new Date(globals.seconddate.getFullYear(), globals.seconddate.getMonth(), globals.secondddate.getDay(), globals.secondtime.getHours(), globals.secondtime.getMinutes(), globals.secondtime.getSeconds());

But maybe there are better ways