Date Format in Excel reports

Hi Experts,
Is there anyway I could print the current date in the YYYY/MM/DD format in the excel report. The format works in a pdf format but in excel the date gets auto converted into MM/DD/YY format. The format-date doesnt work. Please help.
Thanks,
Swarna

Hi Gordon,
It took some time for me to verify in the client machine.
I have changed the date format in both Business One and in the regional settings to DD/MM/YY. It seems to be ok however the appearances of date column in excel seems to be uneven.
04/10/09
04/11/09
       13/04/09
       14/04/09
       19/04/09
(Ignore the *)
I think, the problematic dates seem to be exported to excel in the paste special text format.
Any Idea why this is happening?
Regards,
Mohan
Edited by: Mohanakrishnan T on May 5, 2009 1:09 PM
Edited by: Mohanakrishnan T on May 5, 2009 1:10 PM
Edited by: Mohanakrishnan T on May 5, 2009 1:11 PM
Edited by: Mohanakrishnan T on May 5, 2009 1:11 PM

Similar Messages

  • Date format in Excel report output

    Goodmorning All.
    Am using XML publisher for some reports. The current report is in Excel. Everything is fine on this. I want to print the date parameter in 'MON-YY' format.
    In the 'Text Form Field' option, I have used the type as 'Regular Text'. In the 'Add Help Text' using the formatting as follows: <?format-Date:P_TO_DATE1;MM/YYYY?>. This seems to send the date parameter '1-Jun-12' as 'Jun-12'. But when it opens in excel, Excel assigns the cell 'Custom' format and type as 'd-mmm-yy' instead of 'mmm-yy'. So the final output still comes in DD-MON-YY format.
    I have tried changing the type to 'DATE' and date format to 'MMM-yy' in the 'Text Form Field' option. But still the excel custom format is overriding the final output.
    Any suggestions?
    Thanks
    Z

    Hi Alex,
    I used the following code in the 'Form field help Text': <?xdoxslt:format_date(P_FROM_DATE1,'MMM-yy','yyyy-MM-dd', 'en-us', $_XDOTIMEZONE)?>
    Then I wrote some letters immediately after that and ran the report. When I opened it in excel, Excel assigned format category as 'General' to the output cell. So the output now comes as desired format as 'Jan-12XYZ'.
    So it seems, if there will be some additional characters after the dates, then excel does not auto reformat the XML output to the custom date category.
    Now the big question; How to do it without the trailing characters i.e. 'XYZ' in the above output. If I remove them, then Excel will again try to custom format the date. I read soemwhere that blank space can be used to append but am not sure how it will be in the code.
    By the way in the 'text Form Field Options' I am using type as 'Regular Text'.
    Appreciate any help.
    Thanks
    Z

  • Incorrect date format in excel reports

    Hi,
    Some Activity exported from Activity overview to excel have wrong date format. For example
    Some have 21/04/2008 u2013 Correct
    Some have 13/04/09 u2013 Incorrect
    All the dateu2019s in the database seems to be correct like '2008-04-13 00:00:00.000'.
    Client is using SAP B1 2005 SP01 PL-48. Is there any know issue?
    I tried the same in B1 2007 upgrading the database. All the date seems to be correct when I export it here.
    What may be the reason?
    Any suggestions will be appreciated.
    Regards,
    Mohan

    Hi Gordon,
    It took some time for me to verify in the client machine.
    I have changed the date format in both Business One and in the regional settings to DD/MM/YY. It seems to be ok however the appearances of date column in excel seems to be uneven.
    04/10/09
    04/11/09
           13/04/09
           14/04/09
           19/04/09
    (Ignore the *)
    I think, the problematic dates seem to be exported to excel in the paste special text format.
    Any Idea why this is happening?
    Regards,
    Mohan
    Edited by: Mohanakrishnan T on May 5, 2009 1:09 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:10 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:11 PM
    Edited by: Mohanakrishnan T on May 5, 2009 1:11 PM

  • Formating MSA Excel Reports created in MSY

    Hello All,
    we want to format a excel report, that was created in MSY.
    for example we use the Business Query BSACTIVITY with 'from' and 'to' date parameters.
    The result is then in the Excle sheet BSACTIVITY.
    We have created some programming in the sub "Workbook_BeforeSave"
    to copy the data from BSACTIVITY to a new sheet called Calender.
    When we run the report creation a second time, the data is written to the same file again, but is not creating a new workbook.
    Has anyone experience with the formating of those excelreport ?
    We run CRM 40 SP 09.
    Thank you for your help.
    Best reagards
    Frank

    Hi,
    I just want to push this topic.
    For me it's the same problem. I want to format a Excel report which was created in MSY.
    How can it be done to save the customized design of the excel sheet? Is it possible to save the design in MSY or is it necessary to create an excel makro?
    Thanks in advance!
    Regards,
    Christian

  • Date Format Display on report

    Is there a way to set a custom date format on a report column? I am trying to use a format mask and it doesn't appear to be working. Maybe someone can spot my mistake:
    Query: Hours Worked = Clock_IN - Clock_OUT
    Format mask for Clock In/Clock Out - DD-MON-YYYY HH24:MI (from list)
    Format mask for Hours Worked column: HH:MI (hand typed)
    actual display (Timecard ID is edit link):
    Timecard     Employee     Vehicle     Clock IN     Clock OUT     Hours Worked
    6     20044     26045     30-JUN-2006 13:28     30-JUN-2006 13:31     +000000000 00:03:43.000000
    28     20044     144     06-JUL-2006 10:11     06-JUL-2006 10:39     +000000000 00:28:43.000000
    48     20044     144     07-JUL-2006 09:03     07-JUL-2006 16:30     +000000000 07:27:50.000000
    108     20044     26045     18-JUL-2006 15:35          
    128     20044     144     19-JUL-2006 14:57     19-JUL-2006 15:02     +000000000 00:05:06.000000

    These programs also..
    GFW_PROG_BAR : Bar chart example
    GFW_PROG_PIE: Pie chart example

  • Changing date format in bw report

    Hi,
    Could anybody pls Explain How can I change date format in bw report from 19-03-2008 to 19 mar 2008.Is there any setting we need to do. Else do i need to write some ABAP code to get desired format.
    Regards,
    Sarath

    Hi Sarath,
    I could have the routine enabled and its wrk for my DATS obj ...
    else pls go through the following code
    Check this example of how to get this format..
    TABLES: T247.
    DATA: V_DATE TYPE SYDATUM.
    DATA: V_STRING(20).
    V_DATE = SY-DATUM.
    SELECT SINGLE * FROM T247
    WHERE SPRAS = SY-LANGU
    AND MNR = V_DATE+4(2).
    IF SY-SUBRC = 0.
    CONCATENATE V_DATE+6(2) '-' T247-KTX '-' V_DATE(4)
    INTO V_STRING.
    WRITE: / V_STRING.
    ENDIF.
    or make use of the routine make use of the FM
    CONVERSION_EXIT_IDATE_OUTPUT
    hope it helps you out...
    regards,
    pradeep
    Assign points if useful.

  • Date format in excel

    hi all,
    i am using form6i.
    i am writing data into excel sheet(using ole2 package). i have one date column among them. The date format in excel should be in 'DD/MM/YYYY'.
    In my form i have date format like 'YYYY/MM/MM HH:MI:SS'. so i have converted that column using
    TO_CHAR(TRUNC(:date_col),'DD/MM/YYYY').So i am getting output in the format what i need,but still in excel i am seeing data format as 'DD-MM-YY'.
    is any conversion is required while writing into excel?
    but when i set the excel data format should be in 'DD-MON-YYYY'
    i am getting output as '26-JAN-10' but i want output in excel like
    '26/JAN/2010'.
    Please help.
    Thanks..
    Edited by: GD on Nov 26, 2011 8:21 PM

    If you want the field to be treated like a DATE in excel, you have to set the column-format to DATE and apply the appropiate Format. To get the needed ole-statements, start the macro-recorder, do the changes in excel and then check whats written in the macro and convert it to OLE.
    If the field should only be shown as a date, you can put a ' in fornt of the date-value.

  • Application Date Format in Interactive Reports

    Hi,
    What should we define in Number/Date Format in interactive reports column attributes such that it will use application level date format?
    Thanks

    Hi,
    You do not need define anything , then it use application date format
    Br,Jari

  • Controlling the data formatting in excel using jsp.

    Hi,
    How to controlling the data formatting in excel using jsp with out using external jar files such as "jexcel" and "POI". And one more limitation is that it should be compatible with java 1.2.1

    dineshniot wrote:
    Hi - Is there any possibility to automatically display the chart for the logged datas using write to measurement file or write to data file? Please let me know as soon as possible.
    Thanks and Regards,
    Dinesh
    As an aside, "data" is already a plural.  The singular is "datum."
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Date format in Excel Export

    We do see different behaviour of date fields in exported Excel files and are not able to clearly identify why this happens.
    And even after reading through dozens of documents, web pages and forum posts it is still not clear how this should work.
    The questions are quite simple:
    Can we expect that dates in exported Excel files (exported from for example the ActiveX viewer) will be formatted as per the format set during the design of the Crystal report or will it follow the Regional Settings on the PC where it is exported?
    If it does not follow the Regional Settings is there any 'easy' way to accomplish that?
    Thanks and regards, Stig

    But I do not know what gave you the impression that there is any SDK or any development going on here.
    1) ActiveX is used in one of two scenarios:
    a) COM SDK
    b) BusinessObjects Enterprise
    Never in the CR designer... Not sure why you'd place a question that in your mind clearly concerns BusinessObjects Enterprise into the Report Design forum. That was most certainly an incorrect forum by the above definition...
    2) Given the info you provided, I had a 50% chance of being correct about SDK...
    3) Since you are using BusinessObjects Enterprise ActiveX and have a question on that, you want to pose the query to the correct forum, which is [SAP BusinessObjects Enterprise/Edge, and SAP Crystal Reports Server Administration|BI Platform;.
    Re.
    Our question is just a simple question related to using the standard export function via the export button in the ActiveX viewer.
    - Trust me, in light of my guess re SDK, your question was not "simple"...
    - Ludek

  • List View does not retain date formats from Excel

    i am using List View control to isplay data. When i scroll the horizontal bar inlist view, the date format changes to numbers. is there were to stop this happening.
    regards
    Chandra

    Hi Chandra,
    Are you getting the values from any live connection or is it static data from the excel file?
    You can also try to goto properties of component and in the appearence tab,select the format of the values as "DATE".
    Incase you are getting the values from the live connection, you can select a different cell which would reference to the data coming from the connection and use it into the components.
    e.g.: if values are coming in cell"A1" then goto some empty cell as B1 and type in"=A1" and use this new cell into the component.
    Let me know if this works.
    Thanks,
    Amit.

  • Date format in obiee reports

    HI guys
    i got two obiee server running in our env . both are identical . on one server when ever we rite any report with date column in it it comes up with dd/mm/yyyy output on another server if we right any report all the date column comes with dd mon yyyy format .. i want both of them should show date like dd mon yyyy format .. i checked all the conf files are both are looking same still not able to figure out where should i change for this to work .
    please let me know if you need more info from my end.
    Regards,
    Dev

    HI Kishore
    Thanks for your reply i checked all the things but with no success. do think there could be any other place where i should check .
    1. nqsconfig date format
    its same for both the two installations
    DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;
    DATE_DISPLAY_FORMAT = "yyyy/mm/dd" ;
    TIME_DISPLAY_FORMAT = "hh:mi:ss" ;
    2. make sure that you didn't save date format in column properties from front-end
    Just checked and we havan't saved anything in column properties .. even i created new report as well but still format was same ..
    3. Did you mention anything in connection pool settings to set date format.
    no we havan't mention anything in connection pool
    4. Make sure that you are connecting to same database, and date format set for date is same here and there
    yahh both the two installatiosn are connected to same database .. but not sure about "date format set for date is same here and there
    " hw i can check this
    finally, check this: http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    no its not on one column .. its to all the date format columns on all the reports .. so i think its not case with me .
    please let me know if you need more info
    Regards,
    Dev

  • Date format in Discovere Reports

    We have created a workbook with a parameter which is supposed to show up an LOV for a parameter in the MON-RR format. Now this LOV shows up
    correctly in the Discoverer Desktop edition as MON-RR format, but when we view
    the same in Discoverer Viewer it shows up as DD-MON-RRRR.
    Earlier we had got a partial resolution on this issue (TAR 3891425.996), wherein by changing the ICX
    profile value in Oracle Applications, we are able to set the date mask to MON-R
    R.
    But now the above profile applies to all the reports and all the dates show up as MON-RR, whereas we want to continue showing the date in DD-MON-RRRR forma
    t in some of the reports.
    How can this be achieved ?

    HI Kishore
    Thanks for your reply i checked all the things but with no success. do think there could be any other place where i should check .
    1. nqsconfig date format
    its same for both the two installations
    DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;
    DATE_DISPLAY_FORMAT = "yyyy/mm/dd" ;
    TIME_DISPLAY_FORMAT = "hh:mi:ss" ;
    2. make sure that you didn't save date format in column properties from front-end
    Just checked and we havan't saved anything in column properties .. even i created new report as well but still format was same ..
    3. Did you mention anything in connection pool settings to set date format.
    no we havan't mention anything in connection pool
    4. Make sure that you are connecting to same database, and date format set for date is same here and there
    yahh both the two installatiosn are connected to same database .. but not sure about "date format set for date is same here and there
    " hw i can check this
    finally, check this: http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    no its not on one column .. its to all the date format columns on all the reports .. so i think its not case with me .
    please let me know if you need more info
    Regards,
    Dev

  • Date Format in Portal Report

    Hi,
    I have created a SQL Report with following select statement. Looks like portal has default format mask for date type as 'DD-MM-YY'.
    If I put DD-MM-YYYY or DD-MM-RRRR in Format Mask field in Column Formatting screen, the reports generates 04-10-0002 . It should
    be 04-10-2002.
    select process_id, last_update_date
    from obm
    where process_id like (:process_id)
    I tried to use the to_char function as following. But it errors ORA-06502:PL/SQL:numeric or value error. Even though it works fine in
    my sqlplus session.
    select process_id, to_char(last_update_date, 'DD-MM-YYYY')
    from obm
    where process_id like (:process_id)
    Does anyone have any idea?
    Thanks

    Hi,
    Which version of portal are you using? The error with to_char comes in 30984. This is a bug. The bug no is 2567445. A one-off has been issued. Please look in metalink for it. And for the date formatting in the column formatting section the formatting should work fine. Please check the data in your table.
    Thanks,
    Sharmila

  • Problem with reading English UK date format in Excel

    When I build and debug the rulebase I get the following error: Error in rulebase: "Cannot perform comparison expression on right expression with type number".
    The actual problem is that it does not read the date correctly in Excel. I have got the following date comparison >=31-09-2011 in excel. Instead of reading 31st September 2011 it tries to reed as 9th of the 31month 2011...
    I have set all language and location, region settings to English United Kingdom (dd/MM/yyyy), United Kingdom but it seems it does not help. In Excel I have set English UK as well.
    OPM version: 10.1.0.27
    Windows 7
    MS Office 7
    I had this problem previously but I resolved by changing language or location setting I think, or language for non-Unicode programs. I cannot remember exactly. But this time it seems it does not work. Reinstalling does not work either.
    Can anybody help with this?
    What settings OPM uses to read the date?
    Thank you!

    Jasmine, you are right 31-09-2011 is a wrong date, I just typed any date as an example and didn't realize that it is an impossible date . We use many dates in Excel in a format dd-MM-yyyy (we do not type in date in runtime).
    In the link you have sent it says that "Formatted attribute values based on rulebase region are used".
    Date:
    " if your region was set to the United States you would see the following: MM-dd-yy"
    "Region set to Australia, which includes the date format dd/MM/yy
    Region in our project is set to United Kingdom so the date format should be dd-MM-yyyy.
    I have checked that OPM Project Properties Language is set to English (UK) so it should be fine.
    The strange thing is that it works fine on other laptops - the date 03-09-2011 is red as 3 September 2011, but on my laptop it is red as 9 March 2011.
    When it comes to read the date 30-09-2011, on other laptops is red as 30 September 2011, but on mine cannot make a date as there is no month number 30 so it throws the error "Cannot perform comparison expression on right expression with type number"... What actually happens is that on my laptop OPM reads the dates from Excel in American format.
    As I wrote earlier, It was working fine at my laptop as well before reinstalling Windows. I had this problem long time ago again but I was able to resolve it by changing language,region settings in Windows I think.
    Now it seems like I have got the same language,region settings in Windows as I had before, my colleagues got the same language, region settings on their machines as well.
    Iit seems like dd/MM/yyyy is red fine (UK format), but the format dd-MM-yyyy is red in American format...
    What settings should be set in Windows or Excel or maybe somewhere else OPM to read the date from Excel in English UK format dd-MM-yyyy?

Maybe you are looking for

  • Memory upgrade on Satelite 1955 s803

    Is it possible to upgrade memory on my notebook _by one_ module 1024mb (something like this - SO-DIMM DDR 1024Mb PC2100(266Mhz) Kingston)? Sorry for my English, that is not my native language :).

  • IDVD is squishing 16:9 source to 4:3

    I setup up the project as Widescreen. My source files are DVCPRO HD 720p 60fps. The files import into the project fine, but when I watch the Preview, iDVD has squished the source horizontally to a 4:3 ratio. Any ideas? Thanks!

  • How to increase patricion HD space with Bootcamp?

    After installing windows on BOOTCAMP I realize I need more space for OSX. Everything works fine, games and apps, but OSX got far too crowded Any way to rearrange the spaces without formating or using external apps? My specs... Help is very much appre

  • Hans free car kit for my Nokia 6310i

    I have a Nokai hands free car kit (Model number PCH-4J) which I can't fit to my car as there are 2 abbreviations on the wirering plan I don't understand, can any one tell what they mean? Blue Ignition, Red 12V, Black to earth, Green to AMC? & Yellow

  • How to get Resultset values to Excel sheet

    Hi all, I generated a report ,which do not fit in a page .so I am trying to export entire data to the excel or word document which fits in a A4 size paper.Can any body help in achiving this task by sending code samples . my project can not accomidate