Link to home
Start Free TrialLog in
Avatar of Pdeters
Pdeters

asked on

Business Objects report - Export Current date but only date not time

I have this code in a report so when it is exported to Excel today's date is populated. I only want the date not date and time and with this I am getting both.

When you look on the report in BO you see just the short date as that is how I have it formated but when exported the time comes with it. How do I get just the date?

=CurrentDate()
Avatar of Mike McCracken
Mike McCracken

What time comes with it?

You might try

Date(currentdate())

mlmcc
Avatar of Pdeters

ASKER

what comes up on the BO report is 11/29/10 but when I export to Excel I get

11/29/2010  10:43:05 AM

What i need is just the date 11/29/2010 not the time after it  in the cell

I tried Date(currentdate()) and I get an error: Invalid identifier Date at position 1
Is this Crystal or one of the BO tools?

Try CDate

mlmcc
ASKER CERTIFIED SOLUTION
Avatar of James0628
James0628

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial