If you are using ORACLE you use the trunc function.
Trunc() will return only the date and not the time. Of course you
have to make the change in the universe.
Good Luck
I’ve used the trunc function on ORACLE. It displays all dates with the time
12:00:00AM in the LOV.
George Baranowski
QuadraMed
If you are using ORACLE you use the trunc function.
Trunc() will return only the date and not the time. Of course you
have to make the change in the universe.
Good Luck
George,
You are correct. It does returns 12:00AM with all the rows. But
in ORACLE the trunc function does get rids of the time stamp. In
Business Objects the actual time is replaced by 12:00AM.
Dilip
My dates in database are stored without any time component anyway.
I don’t want to see time component in LOV dialog box of BusinessObjects.
Is there any way.
Vasan
Baton Rouge International, Inc
Data Warehousing and OLAP Consulting Division http://www.bri.com
George,
You are correct. It does returns 12:00AM with all the rows. But
in ORACLE the trunc function does get rids of the time stamp. In
Business Objects the actual time is replaced by 12:00AM.
Dilip
The only way I can think of is by using the substr function. BO returns
the time along with the date because of the way it is defined in the
.sbo file since it issues a ALter session command to the database
everytime.
to_date(substr(,1,10)) will return just the date not the time.
Good Luck
My dates in database are stored without any time component anyway.
I don’t want to see time component in LOV dialog box of
BusinessObjects.
Is there any way.
Vasan
Baton Rouge International, Inc
Data Warehousing and OLAP Consulting Division http://www.bri.com
George,
You are correct. It does returns 12:00AM with all the rows.
But
in ORACLE the trunc function does get rids of the time stamp. In
Business Objects the actual time is replaced by 12:00AM.
Dilip
The substr functions works fine. It will only return the Date and not
the time.
substr(,1,10) will return the date and not the time. It will
remove the time stamp from the query.
Vasan,
Just I have seen your mail in the middle. What I understood is, you
are receiving records with dates & time. If you want to avoid the
time, just go and change the properties of that object by using DATE
function like:
DATE(objectname). it will show only the dates.
Hope it helps.
Ravi.
Ravi,
when i use the date function in designer with the object definition, it
doesnot allow me to use Date,
function in designer and it tell me as Date is not a valid function
to_date(substr(<date>,1,10),'mm/dd/yyyy') in designer.
Thanks
Tarak
when i use the date function in designer with the object definition, it
doesnot allow me to use Date,
function in designer and it tell me as Date is not a valid function
|--------------------------------------------------------------|
|Tarak N Ray (408) 428 5431 tarak@cadence.com |
±-------------------------------------------------------------+