Oracle Forms (MOSC)

MOSC Banner

How can I get timestamp in Oracle Forms 6i

edited Mar 17, 2010 2:25AM in Oracle Forms (MOSC) 3 commentsAnswered
 Hi,

I have a date field in a base table block. I want to save the current date and time to the corresponding column in the table when a particular event happens.

I have tried the following and none seem to work.

1. I have assigned the sysdate to the variable-

    :block.submit_date := TO_DATE(TO_CHAR(SYSDATE,'MM/DD/YY HH24:MI:SS'), 'MM/DD/YY HH24:MI:SS') 

2. I have set the datatype of the item in the block to Datetime.

3. I have put a fomat mask of MM/DD/YY HH24:MI:SS in the properties of the item.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center