I am trying to save date and time as entered by the users example: In the insert and update triggers of my block my statement is: :MAIN_BLOCK.USER_DATE := TO_DATE(TO_CHAR(:MAIN_BLOCK.USER_DATE,'DD-MON-YYYY')||' '||:MAIN_BLOCK.HOUR||':'||:MAIN_BLOCK.MIN||':00 '||:MAIN_BLOCK.MERIDIAN,'DD-MON-YYYY HH:MI:SS AM'). I am trying to save :MAIN_BLOCK.USER_DATE as "25-MAY-2010 11:00:00 AM" as the user entered in the form textboxes and is saving "25-MAY-2010 12:00:00 AM". Why do it changes the time value? Thanks!
ORACLE 10G FORMS AND ORACLE 11G DATABASE
July 15, 2010 3:12 PM
July 15, 2010 5:03 PM