date format as timestamp [message #623549] |
Thu, 11 September 2014 06:56  |
 |
Mayur Shinde
Messages: 60 Registered: August 2014 Location: Pune, Maharashtra
|
Member |
|
|
Hi,
I have to save date as timestamp into database.
I declare one global variable as :
I am using below mentioned code:
INSERT INTO TRANSACTIONS_MST(CR_BY)VALUES (:GLOBAL.CRDT);
But when I run below mentioned query:
SELECT cr_dt FROM TRANSACTIONS_MST;
OUTPUT is: 9/11/2014 12:00:00 AM
But I want output as exact date and time.
Please suggest solution.
|
|
|
|
|