I'd like to copy the date/contents of a text_item (typ: Date ,length 19, format mask: dd.mm.yyyy HH24:MI )
into another text_item ( typ: Date ,length 19, format mask: dd.mm.yyyy HH24:MI )
Used a WHEN-BUTTON-PRESSED Trigger with:
:MY_BLOCK.MY_NEW_TIMEFIELD := TO_DATEREF_BLOCK.REF_TIME,'dd.mm.yyyy HH24:MI' );
But the hours and minutes are always 00:00
I'd like to have the real hour and minute values in the :MY_BLOCK.MY_NEW_TIMEFIELD
Please Help
into another text_item ( typ: Date ,length 19, format mask: dd.mm.yyyy HH24:MI )
Used a WHEN-BUTTON-PRESSED Trigger with:
:MY_BLOCK.MY_NEW_TIMEFIELD := TO_DATEREF_BLOCK.REF_TIME,'dd.mm.yyyy HH24:MI' );
But the hours and minutes are always 00:00
I'd like to have the real hour and minute values in the :MY_BLOCK.MY_NEW_TIMEFIELD
Please Help