I want to convert the date format this 2024-03-07T00:00:00.000+00:00 into 7-Mar-2024 as when I use trunc() function even then it returns the same and I dont want to convert it into to_char, how is it possible?
TO_DATE( SUBSTR( your_column , 1, 10 ), 'YYYY-MM-DD')
Are you asking about a Publisher feature or is yours a pure SQL question?
A column of type date, doesn't have a format. The visible format of the date is always a formatting "like a string". There is a default date format mask that is used by the tool you use to view the data.
HI, I am Asking about pure SQL when ever I tried to convert it the date into specific format it returns complete value with time which I dont want
Ok, in the future for SQL questions you should consider posting them in https://forums.oracle.com/ords/apexds/domain/dev-community/category/sql_and_pl_sql (it's a separate platform but still a fully Oracle products/services focused forum).
What data type is your source? "date"? The data type is able to have the time component, that's why by default the display mask for a date field generally contains it.
You said at the beginning you don't want to convert it to a piece of text using TO_CHAR(), despite that function being the one allowing to return a date into the required format.
It sounds like there are missing elements here that aren't known...
Where are you trying to get the date to display the way you want? Does it really matter if the date is rendered as a text if that allows you to render it in the required format?
You said you used TRUNC(), and it does work: it does remove the value of the time component setting it to 00:00:00, but your date is technically still having a time component, it just doesn't have the original hours, minutes and seconds but 00:00:00 instead.
That's why I said that all you seem to be after is to display it differently, because you can't really change the date datatype to not have a time component...
HI @Ayub
BIP default format - canonical format so need to convert refer below for examples -
Can you refer below documentation -
Regards,
Arjun
I have Windows 64-Bit in my system and I have downloaded Oracle BI Publisher Desktop 64-bit. when trying to install Oracle BI Publisher in my system, I get error like "Set Word2007 flg failed" or "Please uninstall the current version using Add or Remove Program from the control Panel" But there is no program for Oracle BI…
I created a XLSX template in Oracle Analytics Publisher Desktop 26.01.01 and uploaded the template to a BI Publisher report in OTBI. Things worked initially, but this morning when running the report I received an error: The report cannot be rendered because of an error, please contact the administrator. Error Detail:…
Hi All, I have a question regarding the BI Publisher Outputs. I have configured the rtf template output as Excel but when the XML Report Publisher program completes and I click on View Output, the output opens in a browser and renders as an HTML. Can some one please assist why this is so. The BI Publisher version is…
The issue is related to the NordPass browser extension installed via our corporate policy. Issue observed: Users were unable to upload custom BI Publisher templates in Oracle Fusion (BI Publisher / Oracle Analytics) using Microsoft Edge and Google Chrome. The upload dialog remained indefinitely at "Uploading, please…