Date format with : in between

Hi,
I want the date format from 20100407 to 2010:04:07.....
can anyone give me some ideas....
Try searching. Thread locked.
Locked by: kishan P on Aug 25, 2010 6:01 PM

This behaviour is documented in the Oracle Database 10g Globalization Guide; it also includes the steps on how to revert back to the Oracle 9i locale definitions.
http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10749/applocaledata.htm#sthref1769
Please note that 10g is using the correct convention, the Oracle9i locale definition files will be desupported in a future release.

Similar Messages

  • 0CALWEEK to be displayed in date format with start of week date

    Hello everyone,
    I have a requirement wherein I want to display 0CALWEEK info object in the cube in date format with start of week date in the Bex query report. For example if 0CALWEEK is 23.2005 then in Bex report it should display as 06.06.2005. Anyone got any ideas if we can achieve this without adding any additional info object in cube itself ?
    many thanks,
    Neeraj

    Hi Neeraj,
    There are multiple ways to achieve this.
    1. Virtual characteristics. This approach still requires having a placeholder of 0DATE type in the query, but you don't have to populate it in your load. This could slow down you query as well.
    2. Depending of the frontend you using you can run Excel macro (BEx) or Table exit (Web).
    Please let me now if you need more details.
    Regards,
    Gersh

  • Date prompt with a between statement

    Can a dashboard support a date range prompt? We are trying to make a prompt and use a between statement. Suggestions?

    I think you are using the prompt from the Prompt tab in Answers. What you need to do is use Dashboard prompts.
    Although Dashboard prompts have a "between" operator," if you use the 'between" operator, the ability to save the selections to Presentation Variables (PVs) disappears. When I need a "between" dates type prompts, I do the following:
    1) Create two Dashboard prompts set to PVs, say StartDate and EndDate. (In the Edit Formula area, use a CASE stmt on the column chosen -- doesn't matter what the column is -- so no action is performed on the column) (e.g., CASE WHEN 1=0 THEN ColumnName.TableName ELSE 'TEST' END)
    2) Change control to "Edit Box" so users can input the dates. (If you select two appropriate date columns, you can use the "Drop-down List" option and have the user select a valid date. In that case, you wouldn't use the CASE statement in step 1.)
    2) In your report, filter on the date column, convert the filter to SQL, and type in the following:
    +"Column name"."Table Name"+ BETWEEN '@{StartDate}' AND '@{uEndDate}'
    3) Place both the prompts and the report on a dashboard and when a start and end date is selected, the "between" function is performed on the report.
    HTH,
    Edited by: LC143 on Sep 3, 2008 9:52 AM

  • Date format with alter session -- very urgent !!!!

    The default format of date is DD-MON-YY.
    I like to change as DD/MM/YYYY. So I tried to do so by going
    through my login in SQLPlus and wrote
    ALTER SESSION
    SET NLS_DATE_FORMAT = 'DD/MM/YYYY'.
    The format got changed and there after every query displayed
    date in dd/mm/yyyy format. But once I exit sqlplus and reenter
    in sqlplus, the format goes away and the default date format i.e
    dd-mon-yy comes in existence.
    I want to know, how can i make my date format permanent and too
    for all users.
    null

    hello Khan,
    You can set this format in 2 ways, one is
    local setting and the other one is on server setting.
    Edit your c:\windows\oracle.ini (local setting)
    or your init.ora (oracle server setting)
    and add this script
    SET NLS_DATE_FORMAT = 'DD/MM/YYYY'
    note: if there's no nls_date_format in oracle.ini, the server
    nls_date_format in init.ora will be the current setting
    on your PC
    Hope this will help
    NEC PHIl.
    Shamsad Khan (guest) wrote:
    : The default format of date is DD-MON-YY.
    : I like to change as DD/MM/YYYY. So I tried to do so by going
    : through my login in SQLPlus and wrote
    : ALTER SESSION
    : SET NLS_DATE_FORMAT = 'DD/MM/YYYY'.
    : The format got changed and there after every query displayed
    : date in dd/mm/yyyy format. But once I exit sqlplus and reenter
    : in sqlplus, the format goes away and the default date format
    i.e
    : dd-mon-yy comes in existence.
    : I want to know, how can i make my date format permanent and
    too
    : for all users.
    null

  • How to format an account to show date format with MDX function @FORMATDATE

    Hello,
    I am working with an ASO cube where all accounts are set as numeric type. We have some accounts which hold date information for eg Date1 member which is a stored member will have data as 20120601 for June 1st 2012. In financial reports, i need to show this data as 06/01/2012 and using as essbase connection in FR, i cannot do this.
    While i was looking for a solution, i came across the MDX function called
    @FORMATDATE
    format_string_expression = MdxFormat ( string_value_expression )
    I was hoping that if i add a member say Date2 and make it dynamic and point it to Date1 and have this MDX format command to make the numeric data 20120601 show up as 06/01/2012.
    Can this work and if yes, what would be the MDX formula in this case?
    Any help in this regard will be a great help...the other alternative i have is to export this date data out into an oracle table, transform that data into to_date and after enabling the type measures in the outline, load it back in...i was hoping to avoid this extra route if this can be done with the formatting via MDX withing the essbase app.
    Thanks...

    For all good order, here is the log from the Disk Utility:
    2012-12-07 21:18:03 +0100: Disk Utility started.
    2012-12-07 21:21:46 +0100: Preparing to partition disk: “WDC WD30 EZRX-00DC0B0 Media”
    2012-12-07 21:21:46 +0100:     Partition Scheme: GUID Partition Table
    2012-12-07 21:21:46 +0100:     1 partition will be created
    2012-12-07 21:21:46 +0100:
    2012-12-07 21:21:46 +0100:     Partition 1
    2012-12-07 21:21:46 +0100:         Name        : “Gardermoen”
    2012-12-07 21:21:46 +0100:         Size        : 3 TB
    2012-12-07 21:21:46 +0100:         File system    : Mac OS Extended (Journaled)
    2012-12-07 21:21:46 +0100:
    2012-12-07 21:21:46 +0100: Unmounting disk
    2012-12-07 21:27:59 +0100: Partition failed for disk WDC WD30 EZRX-00DC0B0 Media Wiping volume data to prevent future accidental probing failed.
    B*gger.  :-(

  • Creating Date Prompts with "in between" operator

    hi,
    I have gone through the below forum
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/
    I have done all the steps as shown in the forum but I used calendar control instead of drop down list and it displayed the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 4/4/1998 12:00:00 AM000000000 from 4/4/1998 12:00:00 AM000000000 does not match the specified format. (HY000)
    Can anyone suggest me an appropriate solution as it is my project requirement.
    thanks in advance
    naresh

    Hi,
    I cast the date column AS DATE again it displays the following error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 4/2/1998 does not match the specified format. (HY000)
    How to cast date column to timestamp (ddmm-yyyy 24hr:00:00) format
    Thanks in advance
    naresh

  • DATE FORMAT WITH FORMATTERINFO

    The problem is with Formatterinfo, if i set the format as dd/mm/yyyy format, the data is being displayed in dd/mm/yyyy format but while i edit i am not able to get that same format.
    That is i need to have that / / format while editing.
    Can anyone help me in this...
    Thanks in advance
    Ashwath

    hi
    ali.
    had you been success with this DateFormat.
    Please let me know.
    Regards,
    Srinivasan Ashwath
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ali:
    You need format mask which is not supported
    by JDev. I look for this too.<HR></BLOCKQUOTE>
    null

  • Date formatting with java and axis

    Hi,
    My wsdl file has date field which uses xsd:dateTime data type. In my web service implementation java class I am passing value to this variable using Calendar.getInstance().
    I am using Axis framework. When I check my soap output using TCP monitor I find that the date is of format eg: 2007-01-02T12:01:23.342Z.
    The date output belongs to GMT and includes character Z. How do I get SOAP output in locale specific date time format. I used xsd:dateTime along with format parameter but no use.
    Regards,
    Shankar

    The date is wrong because I ran the test using october
    20th data and my data showed up.
    The actual test is from 9/1 to 10/19.This still doesn't tell me what you tried, what you expected, or what you got. If you use the timestamps that you mentioned in your earlier post:
    from: Wed Sep 01 00:00:00 CDT 2004
    to: Wed Oct 20 00:00:00 CDT 2004
    then you will get all timestamps from Sept 01 to Oct 19, inclusive. You won't get any on October 20 except for 00:00:00. Was that what you expected or was it not?
    I'm still guessing here, but possibly the timestamps in your database aren't in the same timezone as CDT. If they are GMT timestamps then you'll be off by, what is it, three or five hours?

  • Simple date format with 1st 2nd 3rd etc

    hai
    i want to dispaly the date in the format
    25th of December 2004
    i tryed to format in SimpleDateFormat, but there is not special format to display date as 1st 2nd 3rd.
    can anybody help me how to do this
    Archi

    THANKS YOU
    THANKS FOR YOUR VALUABLE RESPONSE
    THAT I KNOW VERY VERY WELL HOW TO DO THAT.
    ITS URGENT I DONT WANT TO WASTE TO "INVENT A NEW STUFF"
    ARCHI.

  • Date format with BW MDX Query driver

    Hi,
    I have a question regarding the BW MDX Query driver.
    I have updated the driver from BW Query to BW MDX Query on my crystal reports and all the Date fields have been converted to Strings. Has anyone experienced the same issue?
    Thanks,

    Hi Abhilash
    Thanks for the reply. We have two different environments and are using Crystal XI R2 and Crystal 11. We have installed SAP Integration toolkit XI R2 and SAP GUI 7.1 Patch 14. The date issue is appening in both environments.
    Does MDX supports Date fields/formats?
    Thanks,

  • Date format with miliseconds

    Hi! I have two columns in a table, TPE_FECHA_SOLICIUTD and TPE_FECHA_EJECUCION (date type). I want subtract the two dates with miliseconds precision.
    The version of database is 9.2.0.4.0
    How can I do it?
    Thanks,

    Not sure about anything.
    15:30:26 SQL> select * from v$version;
    BANNER
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production
    PL/SQL Release 8.1.7.4.0 - Production
    CORE 8.1.7.0.0 Production
    TNS for HPUX: Version 8.1.7.4.0 - Production
    NLSRTL Version 3.4.1.0.0 - Production
    5 rows selected.
    15:30:46 SQL> SELECT to_char(sysdate,'dd.mm.yyyy hh24:mi:ss.sssss')
    15:30:50 2 from dual;
    TO_CHAR(SYSDATE,'DD.MM.YY
    28.10.2003 15:31:23.55883
    1 row selected.
    15:30:53 SQL> /
    TO_CHAR(SYSDATE,'DD.MM.YY
    28.10.2003 15:31:23.55883
    1 row selected.
    15:30:53 SQL> /
    TO_CHAR(SYSDATE,'DD.MM.YY
    28.10.2003 15:31:24.55884
    1 row selected.
    15:30:53 SQL> /
    TO_CHAR(SYSDATE,'DD.MM.YY
    28.10.2003 15:31:24.55884
    1 row selected.
    15:30:53 SQL> /
    TO_CHAR(SYSDATE,'DD.MM.YY
    28.10.2003 15:31:36.55896
    1 row selected.
    15:31:06 SQL> /
    TO_CHAR(SYSDATE,'DD.MM.YY
    28.10.2003 15:31:41.55901
    1 row selected.
    15:31:10 SQL>

  • Date format with cfinput validate="date"

    SSBuZWVkIGEgdXNlciB0byBpbnB1dCBhIGRhdGUgaW4gYSBjZmlucHV0IGZvcm0gZmllbGQgd2hp
    Y2ggd2lsbCBiZSBzdG9yZWQgaW4gYSBtcyBzcWwgc2VydmVyIGRhdGUgZm9ybWF0dGVkIGRhdGEg
    ZmllbGQNCg0KSSBhbSB1c2luZyBjZmlucHV0IHdpdGggdmFsaWRhdGU9ImRhdGUiIGJ1dCBubyBt
    YXR0ZXIgd2hhdCBkYXRlIGdldHMgZW50ZXJlZCBpbiB0aGUgY2ZpbnB1dCBmaWVsZCB0aGUgYWN0
    dWFsIGRhdGUgdGhhdCBnZXRzIHN0b3JlZCBpcyAxOTAwLTAxLTAxIChKYW4gMSwgMTkwMCkNCg0K
    SG93IGRvIEkgY29udmVydCB0aGUgdXNlciBpbnB1dCBvZiA4LzIxLzIwMDYgaW50byAyMDA2LTA4
    LTIxIGZvciB0aGUgdGFibGUgcmVjb3JkIHVzaW5nIE1YIDYuMQ0KDQpCb2I=

    SWFuIFNraW5uZXIgIHNhaWQ6DQoNCnwgdmFsdWVzICg8Y2ZxdWVyeVBhcmFtDQp8IHZhbHVlPSIj
    Y3JlYXRlT0RCQ0RhdGUocGFyc2VEYXRlKGZvcm0uaW5wdXREYXRlKSkjIg0KfCBjZnNxbHR5cGU9
    ImNmX3NxbF9kYXRlIj4pDQoNCg0KDQpSZXR1cm5zLi4uDQoNCiAgICAgVmFyaWFibGUgUEFSU0VE
    QVRFIGlzIHVuZGVmaW5lZA0KDQpkZWZpbmluZyBiZWZvcmUgc3FsIHNhdmUgdmlhIDxjZnNldCBw
    YXJzZURhdGU9JyAnPg0KDQp0aGVuIHJldHVybnMuLi4NCg0KICAgICAgRW50aXR5IGhhcyBpbmNv
    cnJlY3QgdHlwZSBmb3IgYmVpbmcgY2FsbGVkIGFzIGEgZnVuY3Rpb24uDQogIA0KICAgICAgVGhl
    IHN5bWJvbCB5b3UgaGF2ZSBwcm92aWRlZCBwYXJzZURhdGUgaXMgbm90IHRoZSBuYW1lIG9mIGEg
    ZnVuY3Rpb24gDQoNCg0K

  • Data format problem with Write to Spreedsheet File

    I have a problem with the data format with Write to spredsheet file.
    I have an N*3 array, where the 3 elements in each row should has different length. When I used Write to spreedsheet file,
    it can only save the three data in one format. How can I save them in the format of "%0.8f %0.3f %0.2f"?
    Thanks for your help.

    Hi powerplay,
    another solution may be to convert column-wise using "number to fractional string", then interleaving resulting arrays and again using "array to spreadsheet string" (with "space" as separator).
    Many ways lead to Rome
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Query To update a date column with a date of my interest

    All,
    How to update a column in a table which is in date format with a date of my interest??
    Pls suggest.

    Please detail :
    1. what exactly you are trying to do
    2. what exactly you have done
    Nicolas.

  • Different Date Formats in the same "From"

    Hello
    We used different date formats depending on the users language.
    In a report this is simple to implement ... read the date field twice (in different formats dd/mm/yyyy and mm/dd/yyyy) and display only one based on the language.
    I want to be able to do the same in a "form" which updates a date. In this case the about is not allowed.
    Has anyone have solution for this using "APEX" forms or do a need to write a process to achieve this?
    Thanks
    Pete

    Pete,
    You don't specify what version of Application Express you're using, so I'll assume APEX 3.1 or later.
    Are you setting the date format yourself, based upon the user's language?
    1) You could have the application's language derived from Browser, and then APEX would automatically set the NLS_LANGUAGE and NLS_TERRITORY settings accordingly. Then, I would simply use 'DS' as the Application Date Format. For Date Pickers on a form, I would use item type 'Date Picker (use Application Date Format)'.
    2) If you're already determining the date format yourself and you don't want APEX to do it for you, ensure that you are setting this value in an application item (e.g., PETE_DATE_FORMAT). Then, you could still use Application Date Format with a value of &PETE_DATE_FORMAT. (inclusive of the trailing period).
    When you use Application Date Format, the conversion should happen automatically for you so that you don't have to code this yourself on the Form.
    I hope this helps.
    Joel

Maybe you are looking for

  • Photostream and Windows 8

    I just got a Windows 8 laptop and installed iCloud Control Panel 2.0 for the first time so I can back up by Photostream to my computer (didn't have enough hard drive memory before). I'm only syncing the photos, nothing else (mail, contact, etc.). It

  • DB Lookup Not Initialising PLz Help!

    Dear all, I Tried to do DB Lookup as told in this blog by siva /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler I used the below code. I am not Getting any error, the mapping is successfully ACTIVATED. But in the Receiver field i a

  • Need help fom my imac, monitor impression?

    it is almost running out my imac apple care, and in some light condition it seems to me to se the dock on boot screen... but if i use a white background and maximum brightness i can't always see it i can't really tell what can be, but my options are.

  • SAP Best Practices for Chemicals DE roadmap

    Hi All, we are going to start a project using SAP Best Practices for Chemicals. We have decided to use DE version because the landscape is european based. I have seen on SAP Portal that the DE version is based on Ehp3: does anybody know if Ehp5 versi

  • Converting to DNG in LR4 does not preserve the date

    When converting to from Canon CR2 raw to DNG (on Windows 7 x64), the newly created file has the conversion date and not the creation date of the original picture file. This is an issue several people have complained about for the DNG converter and on