How to store date values? (merged) [message #235623] |
Mon, 07 May 2007 08:04 |
dhrooj
Messages: 8 Registered: April 2007
|
Junior Member |
|
|
helo to all,
i design table have tow coulmns datatype date in oracle
i need to save date in fields like this 08:30 or 15:30
using forms6i
any body can help me
please
|
|
|
|
|
|
|
Re: I need help , please [message #235836 is a reply to message #235832] |
Tue, 08 May 2007 02:27 |
NATVA
Messages: 9 Registered: May 2007
|
Junior Member |
|
|
If you need to store in your format , you should create a column in a table with VARCHAR2 not DATE data type, then you can store like 08:30 .
else you should store as a full date like 'MM/DD/YYY HH:MI:SS'
and when you display the stored data ,select the date column like to_char(datecol,'HH:MI') in your report or forms ( use format mask for forms) .
|
|
|
|
|
|
|