Export to CSV shows date along with timezone, as 2012-10-02T00:00:00.000+0

Hi,
I have created reports on bi publisher 11.1.1.6.8. When i try to export the reports to CSV, i get the date format in '2012-10-02T00:00:00.000+0' where as i need only the format as 'YYYY-MM-DD'.
When i export to pdf or excel or html, the date is in correct format as required, but issue only happens with csv.
Kindly advice.
Regards,
Zuzar

Here is a script that will copy the previous days events and save them to "C:\". The file name be yesterdays date ex "04-18-2010-Events.csv"
Const strComputer = "."
Dim objFSO, objWMIService, colEvents, objEvent, outFile
Dim dtmStartDate, dtmEndDate, DateToCheck, fileDate
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set dtmStartDate = CreateObject("WbemScripting.SWbemDateTime")
Set dtmEndDate = CreateObject("WbemScripting.SWbemDateTime")
'change the date form "/" to "-" so it can be used in the file name
fileDate = Replace(Date - 1,"/","-")
Set outFile = objFSO.CreateTextFile("C:\" & fileDate & "-Events.csv",True)
DateToCheck = Date - 1
dtmEndDate.SetVarDate Date, True
dtmStartDate.SetVarDate DateToCheck, True
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colEvents = objWMIService.ExecQuery _
("Select * from Win32_NTLogEvent Where TimeWritten >= '" _
& dtmStartDate & "' and TimeWritten < '" & dtmEndDate & "'")
For each objEvent in colEvents
outFile.WriteLine String(100,"-")
outFile.WriteLine "Category = " & objEvent.Category
outFile.WriteLine "ComputerName = " & objEvent.ComputerName
outFile.WriteLine "EventCode = " & objEvent.EventCode
outFile.WriteLine "Message = " & objEvent.Message
outFile.WriteLine "RecordNumber = " & objEvent.RecordNumber
outFile.WriteLine "SourceName = " & objEvent.SourceName
outFile.WriteLine "TimeWritten = " & objEvent.TimeWritten
outFile.WriteLine "Type = " & objEvent.Type
outFile.WriteLine "User = " & objEvent.User
outFile.WriteLine String(100,"-")
Next
outFile.Close
MsgBox "Finished!"
v/r LikeToCode....Mark the best replies as answers.

Similar Messages

  • How to show timestamp along with date in LOV dropdown

    Hi,
    We have a requirement to show timestamp along with date as a display column in a LOV drop down. Type of the date column in VVO is set to timestamp. But still it is showing only date in the UI.
    But it is showing timestamp when we run it through AM. Is there any thing in to do in addition to display it in UI? Or it is not feasible? Please suggest me on this issue.
    Thanks in advance.
    Thanks,
    Santhosh

    The date format displayed in UI depends on applcore preference set for current user, try changing date format set for current user to include time along with date.

  • Moving LR5 catalog (Irdata & Ircat) to a new hard drive and photos. Lost all meta data - How do I move meta data along with catalog?

    I moved LR5 catalog (Irdata & Ircat) to a new hard drive and photos. Lost all meta data - How do I move meta data along with catalog?
    The meta data for each image is missing.
    I have over 2,000 images. I don't want to go back through each image and add meta data.
    Is there some way to move everything?

    No, do not re-import your images. I assume you can see the thumbnails in the library module, just cannot access the full images, right? If this is the case there should be an exclamation mark in the top right corner of every one of your pictures and you only have to tell LR where the images are now.
    Click the exclamation mark of one of the images and a dialog window should pop-up, telling you that LR cannot find the file, but with an option to locate it. Press "Locate" and navigate to the folder on your new HD where the file is. If in the new external HD you kept the same folder structure that you had on the internal disk, LR will be able to find all your images and re-link them to the database without further intervention.

  • How to swap column-data along with Table header

    Hi All!
    I found a smple JTableDemo.java class. When I run it it provided sorting on the table as well as Dragging Column-data along with Table header while swaping two columns-headers.
    I designed my own table and apply some changes to TableModel. Afterwords it swaps Table-Headers only, but not their respective columns.
    Can someone give me a clue for that, where the logical error may be?
    Thanx in Advance

    surprised.. since you have asked, it must have some more tricky issue. Any way what i thought of it
    in before insert on table2
    simply insert into table1 (cr_id) values (:new.cr_id_id);
    i assume that table1 pk does not generated through sequence
    proposed insertion will not violate the uniqueness and create another record only in table1
    what is thehidden agenda for not using simple before insert trigger as above.
    yours
    dr.s.r.bhattachar

  • Is it possible to export full PCD object list along with their PCD ID?

    Hi
    Is it possible to export full PCD object list along with their PCD ID to an excel sheet or txt file?
    Any help will be appreciated.
    Regards
    Vineet

    Hi,
    I have provided a simple method below to Get all the PCD objects PCD  ID.
    1. Create a transport package.
    2. Add all the PCD objects for which ever you need the PCD ID.
    3. Now release the Transport package as the "File system" mode.
    4. Once it is done successfully, it will display all the transported object and its corresponding PCD ID in a table format.
    You can simply copy and paste it in a excel to get the PCD ID for the PCD objects.
    Hope this is helpful.
    Thanks,
    Mahendran B.

  • How do I put date along with time on my new iPad?

    I need to put date along with time on the top bar on my new I pad but just can't do it, need some help. Thank you in advance.

    Unless you can do it with a third party app - and I haven't seen one that will do it - you can't put the date at the top of the iPad. Those features are built into the iOS and there is no user setting to change or add anything to the time setting at the top.

  • Unable to install SQL Server 2012 along with BIDS & VS 2012 on Windows 7

    Unable to install SQL Server 2012 along with BIDS & VS 2012 on Windows 7 professional.
    I get the below error
    Could not find vsjitdebugger.exe
    Blogs say anti-virus is stopping but I dont have one on the system.
    Note: I had used SQL 2008 on the system previously and has a refresh i have deleted all the software to speed up the system.
    Now i could not install both the software.
    Can I get some help regarding this?

    Hi Nandu,
    As your description, you come across an error(vsjitdebugger.exe cannot be found). Please confirm if the error occurs during the installation of SQL Server 2012.  If so, please help post SQL Server setup logs. By default, SQL Server setup log file locates
    in C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log.
    Base on my research, this error could be caused by that the previous uninstallation is improper and vsjitdebugger.exe file could be mistakenly deleted.
    To troubleshoot the issue, you could start your computer into Safe Mode and fix your problem with one of the following methods. For more information, please refer to the article:
    http://www.fixerrorkit.com/fix-error/fix-vsjitdebugger.exe-error.html.
    1. You could execute the sfc /scannow command following steps below.
    a. Press "Windows+R", type in cmd and then right click "Run as administrator"
    b. Type in sfc /scannow (There's a space between sfc and /scannow) into the dialog and hit Enter key and click ok.
    c. Wait until the System File Checker finishes the check.
    2. You could use a Windows repair installation, also known as a Startup Repair to repair your Windows system files.
    3. You could install the latest Windows updates to fix vsjitdebugger.exe error. Microsoft often releases new service packs and system patches to replace or update some DLL files of Windows system.
    4. You could use third-party tool such as Automatic Error Fix Tool to fix your vsjitdebugger.exe error. However, Microsoft cannot make any representations regarding the quality, safety, or suitability of any third-party software or information found there.
    In addition, if you are unable to install  Visual Studio, I suggest you post your question in Visual Studio Setup and Installation forum at
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vssetup  . It is appropriate and more experts will assist you.
    Regards,
    Michelle Li

  • Possible to export Tuple data along with main table data in Excel sheet?

    Hi Expert,
    Wondering is it possible to export tuple table data from data manager along with main table data?
    Regards,
    Rajeev

    Rajeev,
    I am afraid that functionality of exporting tuples data using data manager is not available at the moment till MDM 7.1 SP08. Lets see if coming versions provides this functionality...
    - Shiv

  • Obiee 11g show title along with no results.

    I have a requirment to show no data when there are no results along with the report title at the top.In obiee 11g when i get the no results the title view is dissapearing.Is there any way were i can get both the title along with no results without going to CSS .

    852873 wrote:
    I have a requirment to show no data when there are no results along with the report title at the top.In obiee 11g when i get the no results the title view is dissapearing.Is there any way were i can get both the title along with no results without going to CSS .Check this out:
    http://docs.oracle.com/cd/E14571_01/bi.1111/e10544/analyses.htm#i1010759
    Click on the "Displaying the Results of Analyses" section and then scroll down to "Alerting Users to No Data in the Results of Analyses."
    In the Header field, you can enter the title of your report, then customize your message in the Message field.

  • "Work" calendar shows birthdays along with the "birthday" calendar

    I'm having some troubles with birthdays in iCal. I've read most of the other topics about this but none seem to have the same problem.
    My problem resides in the "work" calendar. It shows all birthdays I have in my address book. My question is why, and what makes that calendar different from all the others? The problems becomes evident when I activate the "show birthdays calendar" in the pref. pane. Along with the "work" calendar i get duplicates.
    What I need to do is to make the "work" calendar" stop showing birthdays in iCal. Can someone please help me with this?

    You probably don't need to invoke Einstein, but you probably do need to post in the iPhone forum:
    Using iPhone
    This forum is for questions about the Communities themselves and so is not the most likely place for you to get help with your problem.
    When you repost, calm down, post your issue clearly, and include basic information such as your versions of Mac OS X and iOS so that people have data one which to base suggestions.
    Regards.

  • SAP BPC 7.5 - Netweaver- File Upload -Transaction data along with comments

    Hi,
    We have a requirement to upload a file containing comments along with transaction data.
    We are planning to store commnents in a Ztable from the flat file and read and post comments in the BADI
    using UJC*Add_cmt.
    Use a custom process chain to execute the above steps and link to a pakage.
    Please let me know if there is a better process/how to doc  and any code for the above.
    Your early reponse is much appreciated.
    Regards,
    Venkata

    Hi Venkata,
    *MVAL  function allows you to use multiple time period columns. I don't think this may help your scenario. I my opinion you may need to use two transformation files to bring the data from BW cube to BPC. BPC is an account base model, I don't think you can load the data in two columns in BW cube using one transformation file.
    Thanks

  • Date problem with timezones

    Hello
    I have very strange problem, i have two computers
    1.client computer - on this machine timzone is set to AZST
    2.server computer - on this machine timezone is set to GMT+4
    location are set to United States , both machines
    so my swing application calls ejb2 method from client machine to server and passes date which is 31/08/2011(Wed Aug 31 00:00:00 AZST 2011)
    but server logs it as 30/08/2011(Tue Aug 30 23:00:00 GMT+04:00 2011), i pass it by Date object , so my question is would it be better/helpful if i try to pass with long value and construct date on server side? or how is teqnique at this situation?

    The Date essentially IS the long value, it just has some (mostly deprecated) methods which allow you to treat that long value as a Date. So passing a long value doesn't fix the problem.
    What we did when we had that problem was to pass a Date and a Timezone; the Timezone we passed was the default time zone for the client. On the server side we formatted the date using the timezone passed from the client, not using the server's default time zone.

  • Show OrderType along with name in Display purchase order

    Hi All,
    When we display purchase order via transaction ME23N, first field on the top left hand corner shows description  "Purchase order", "Production order" etc..... Here I would like to see order type (ZB,ZR,ZV etc) along with description.
    There is some way to do that settings. Could someone please let me know step by step process how to set that??
    Thanks.............

    Hi
    In me21n screen in the tool bar the icon called customised local layout.
    In this select options
    In this select Expert
    In this control tab
    Check the check box for show keys in all drop down lists and press ok...
    It will come
    Regards,
    Raman

  • Export List Of Images Selected Along With Some MetaData

    It would be extremely beneficial for LightRoom to have the ability to have an Export feature that creates an ASCII or XML file format (or other common format) of the image file names (and path) that are highlighted/selected. Since LightRoom is a great program that can be used for client previews, this export feature would allow future integration with billing packages to complete the order.
    Ideally the export file would contain the selected image path and file name, and metadata such as cropping size selected (especially if selected from the drop-down selection of crop sizes), keyword tags (and/or folder name), title, rating and label.
    Thank you for your consideration of this feature request.

    I definitely need something similar as well.
    E.g. I have a website with a slideshow functionality in it - it would be really useful to export in a textfile the custom order of the pictures prepared for a new slideshow.

  • How can we export the Primary key values (along with other data) from an Advantage database?

    One of our customers is moving from our application (which uses Advantage Database Server) to another application (which uses other database technology). They have asked us to help export their data, so that they can migrate it to another database system. So far, we have used the Advantage Data Architect (ARC32) "Export Table Structures as Code" functionality to generate SQL. We used the "Include existing data" option. The SQL contains the necessary code to recreate the tables and indexes. The customer's IT staff will alter the SQL statements as necessary for their new system.
    However, there is an issue with the Primary Keys in these table. The resulting INSERT statements use AutoInc as the type for the Primary Key in each Table. These INSERT statements contains "DEFAULT" for the value of each of these AutoInc fields. The customer would like to output an integer value for each of these Primary Key values in order to maintain referential integrity in their new system.
    So far, I have not found any feature of ARC32 that allows us to export the Primary Key values. We had been using an older version of ARC32, since our application does not use the latest version of ADS. I did download the latest version of ARC32 (11.10), but it does not appear to include any new functionality that would facilitate doing this sort of export.
    Can somebody tell me if there is such a feature in ARC32?
    Or, is there is another Advantage tool to facilitate what we are trying to accomplish?
    If there are no Advantage tools to provide such functionality, what else would you suggest?

    George,
      It sounds like the approach you are using is the correct one. This seems to be the cleanest solution to me especially since the customer is able to modify the generated SQL statements for their new system.
      In order to preserve the AutoInc values I would recommend altering the table and changing the field datatype from AutoInc to Integer. Then export the table as code which will export the actual values. After the tables have been created on the new system they can change the field datatype back to an AutoInc type if necessary.
    Regards,
    Chris Franz

Maybe you are looking for