PeopleSoft9.0, In PS Query Date Format Need to Change.

In Peoplesoft9.0 PS Query we created the quries like SELECT TO_CHAR(A.ACCOUNTING_DT,'YYYY-MM-DD')
FROM PS_VCHR_ACCTG_LINE A, but the result in PS Query like this
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
08/16/1999
Format we given is YYYY-MM-DD, but in result the format is MM/DD/YYYY, how can i changes this.
Thanks in Advance
P.Ayyanar

Instead of dragging and dropping ACCOUNTING_DT field follow the given steps
1. Create a new expression
2. Select expression type as charactor
3. type the following expression TO_CHAR(A.ACCOUNTING_DT,'YYYY-MM-DD'), if you are using oracle database
4. Drag and drop this expression in the select list
You will see date in YYY-MM-DD

Similar Messages

  • Date format needs to be in selection screen mm/dd/yyyy but in alv output ..

    hi
    i need help on displaying date in alv output
    date format needs to be in selection screen mm/dd/yyyy but in alv output ..it should be displayed as yyyymmdd
    regards
    Nishant

    hi,
    you are passing the value to ALv using an internal table.
    so store the format  YYYYMMDD date in the internal table and pass it to ALV.
    use the below FM
    DD/MM/YYYY -> YYYYMMDD
    <b>CONVERSION_EXIT_PDATE_INPUT</b>
    rgds
    Anver

  • In the advanced tab of languages and Region the time and date formats will not change

    For a certian Application I am using I need to change the format of the Time and Date. I had no problems in Mountain Lion. In the advanced tab of languages and Region the time and date formats will not change. I need the date format to read as 01/01/14 and time format to read 13:00. As I said this was easily done in Mountain Lion and all previous Apple OS. I suspect it's an issue with in the OS.

    You're right, it has been that way for a long time. I've never bothered reporting it as a bug since it's simple enough to deal with, but reporting it would be a reasonable thing to do.

  • Date format is not changing when I switch language (From English To French)

    Hi Guys,
      In our portal (NW04-EP6) application when I switch English to French,date format doesn't changed?
    Do you kow how can I fix it?
    Thanks,
    Maryam

    Hi Maryam,
    The langauage is set according to this priority:
    1) Language assigned to the user (in the portal)
    2) Browser's Language
    3) System's language
    4) JVM's Language
    Check your settings.
    Omri

  • Date Format (Need result in date format)

    Dear ,
    i have worked on this query which produce result in error, infact i need result in date format and this format 'MON-YY'. :
    select to_date( EFFECTIVE_DATE,'MON-YY' ) as MON_YY FROM GL_JE_LINES
    but now EFFECTIVE_DATE is like this format '12/31/2008'

    I tell again: a date has no internal format.
    There is only a default output-format for date-objects wich is used as default output format and for implicit date conversions.
    If you want to know the actual nls_date_format for your session you can use:
    select * from nls_session_parameters where parameter='NLS_DATE_FORMAT';You can change it for your session with:
    alter session set nls_date_format='<your_new_date_format>';Please take a look at:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams122.htm
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements004.htm#sthref405
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements003.htm#BABGIGCJ
    The internal storage of a date-object does not depend on the actual value of NLS_DATE_FORMAT.
    This will only used for output and for implicit conversions e.g. with to_date or to_char without explicit format.
    To select a date from a table is also an implicit conversion to character, because you want to see characters on your screen.
    Edited by: hm on 29.12.2010 04:20

  • Query date format

    This is probebly really simple but i cannot manage to sort
    it. I have a site which tracks an update of a clients case. the
    solicitors have certain steps they need to follow and they update
    each stage with a short date. i have the short date format in
    access. When it is displayed in Cf if gives me incorrect details.
    For example i have the field cce which has the data 23/10/2007.
    When it is displayed in Cf it gives me the following date.
    1899-12-30 00:01:39. The code is <input name="pcce" type="text"
    value="#cce#" size="12">. what can i do to make this correct.
    Thanks

    Use the DateFormat function
    #DateFormat(cee, 'dd/mm/yyyy')#
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_c-d_29.html#11 03264

  • Date format and Alignment Change in the Excel Output.

    Hi Forum,
    Greetings to You!!!
    I was created one RTF format file. In this i have to display date format as (dd-mon-yyyy) in the excel output and also some data in the column have varchar2 and numbers. When i generate the output in html, pdf format using the xml file its coming fine.
    When i generate the output in excel format then date format is changing to dd-mon-yy and who have data in number format is automatically going to rtight alignment.
    But client need all the date output in the left alignment (dd-mon-yyyy) ..Please advice me ..
    Thanks & Regards,
    Nag.CH

    Hi Helios,
    Thanks for giving reply. We are using 11.5.10.2 Application . We are not using any ADI..I just run the xml file in my local system itself in excel format..Date format is coming dd-mon-yy.Not in Apps environment.
    Thanks,
    Nag

  • Unlimited Data Plan-Need to change my phone but don't want to lose!!

    I am "grandfathered" into the unlimited data plan, we have four lines, I need to change my phone as my current one doesn't work. I tried switching to an old phone that I used 6 months ago with the unlimited data via online and it would not allow me to do so. How can I change to another phone without being told I have to buy a data plan? If we need to "buy a data plan" all 4 phones will be going else where....

    Makes no difference about any tin foil hats, Verizon is using ANY MEANS to force unlimited data users off the unlimited and onto share or metered data. It is a fact. They tried twice with me and I pay full price for my devices.
    1) Change your minutes, they want to take away your unlimited.
    2) Buy a new device on subsidy, lose your unlimited data.
    3) Buy a new device on the Edge program, lose unlimited data.
    4) Swap a device on your account, they want to take unlimited away.
    5) Add a prepay tablet to your account, they tell you that you lose Unlimited data.
    However the instructions are you are prepaying for the tablet use so its billed to your credit or debit card yet not really part of your cell phone plan but they want you to lose unlimited.
    In short if you go online or call on the phone or even chat, for any reason in some cases Verizon is removing your unlimited data. And you have to be careful since many here are stating the same as I listed.
    They are a business, if they decided not to have unlimited data trust me it will be gone. So leave a little room in that tin foil so the broadcast will get through.
    Just for a giggle, many many years ago I bought an unlimited Mobil Gasoline coffee cup. You paid for it once and each time you came to a Mobil station you get a free coffee. I still have the cups (they came in two sizes) yet just try and get that free coffee. The company dropped the promotion. And now you get arrested for theft.
    Nothing lasts forever.
    Good Luck

  • Date format - need this format --  04/04/2002 - need help?

    Hi, I am trying to get the date into this format 04/04/2002, so I can insert into the database...
    I have this code.. but it display it like this - Apr 4, 2002
    Date t = new Date();
    String today = DateFormat.getDateInstance().format(t)
    Thx
    Rich

    Or because today is the 4th day of the 4th month maybe :
    java.util.Date t = new java.util.Date();
    java.text.SimpleDateFormat df = new java.text.SimpleDateFormat("MM/dd/yyyy");
    System.out.println(df.format(t));

  • Date format does not change with the Regional and Language Options in 2008

    I have a one-column report that was created using the SQL "select current_date" in postgres.  (Thinks select getdate() ).
    In Crystal Reports XI when I change the "Standards and Formats" of Regional Options to:
    English (United States)  the date is in the format mm/dd/yy
    English (Canada) the date is in the format dd/mm/yy
    Japan the date is in the format yyyy/mm/dd
    In Crystal Reports 2008 when I change the "Standards and Formats" of Regional Options to:
    English (United States)  the date is in the format mm/dd/yy
    English (Canada) the date is in the format mm/dd/yy
    Japan the date is in the format mm/dd/yy
    It doesn't change.  Is this a bug?
    Thanks in advance,
    J

    hey Jason,
    i am going through some of the old forum posts and saw that no one replied to your language options post.
    for cr 2008, there are language packs for the applicable languages. there are advantages for this as you can save installation space with the option of installing language packs for each language that you want the designer application to be in.
    you have seen the disadvantage as it doesn't work the same as before.
    you do not need the language packs for testing though. in the crystal reports View menu, switch up to the Product Viewing Locale to test objects which are using "system" settings such as dates.
    if you do wish to install any language packs so that you can change up the actual language in the designer, go to your install media. in the install files "\package\langs\" directory, you will see a folder for each language that you need. install the desired language(s).
    once you have installed a language pack and then restart the cr designer, you will now have the additional language in the View > Product Locale.
    so in summary...Product Locale will change the language of the whole designer...language packs are needed for this.
    Preferred System Locale can be used to test languages without having to change your windows system settings.
    i hope that this helps,
    jamie

  • MC.1 report date format to be changed.

    Hi,
    In MC.1 report the default formate of the date is MM.YYYY is this format cn be chaned to DD.MM.YYYY based on the posting date.
    I want to see the MC.1 report based on the posting dates.
    Kindly help me.

    Hi,
    MC.1 report is standard TCode used for the monthly report.
    For posting datechange, need to discuss with the developer for adding field date.
    Check for other tcodes available depending on posting date.
    Regards
    Smitha

  • Backup and restore the fields in the same date format...

    In the form, there is one date field , the value is entered by using jquery, datepicker. The sceanrio is, after I picking the date value in date field , then I decided to click the back button, moved the precious form then forward again that date field form.. My query is I need to restore and backup the Same format I entered previously..
    Query is When i hit back and forward again the date format will be changed from "2010/02/21" to "2010-01-21 00:0:0 +5:30".
    The below codes were used for picking the date field in the form..
    <script type="text/javascript">
    $(document).ready(function() {
    $(function(){
    $(".date").datepicker({ dateFormat: 'yy/mm/dd' });
    });

    Hi Benjamin,
    you could restore database with new name using below script
    RESTORE
    DATABASEWSS_Content_NewFROMDISK='C:\Program
    Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\WSS_Content.bak'
    WITH
    MOVE'WSS_Content'TO'C:\Program
    Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\WSS_Content_New.mdf',
    MOVE'WSS_Content_log'TO'C:\Program
    Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\WSS_Content_Newt_log.ldf'
    Regards,
    Regards, <b>Khalil Kothia, PMP </b>
    Blog

  • Presentation Variable Date Format

    Hi all trying to format a presentation variable in a Narrative view , Is there a way that this can be done using javascript or html that i can paste into narrative view.
    i want something like "the date being used is @{indate} for month end"
    Also date format needs to be dd.mm.yyyy ... its currenty being displayed as yyyy/mm/dd .. I dont want to add the columns in my report and hide them as there seems to be a performance lag when i do that.
    Any ideas .. Java gurus out there.
    I have tried @{indate}[dd.mm.yyyy] .. but that dont work.
    Cheers
    Jenny
    Edited by: user5470064 on Aug 18, 2011 9:58 AM
    Edited by: user5470064 on Aug 18, 2011 9:59 AM

    Here you go...
    I tried in my machine and its working great..
    In Answers--> in Criteria TAB, In the column's fx use below formula...
    case when 1=1 then EVALUATE('TO_CHAR(%1,%2)' as varchar(20),date '@{pv_date}{1998-07-05}','dd.mm.yyyy') else "ORE Time Dim"."Mnth Name" end
    pv_date is the presentation variable and
    For "ORE Time Dim"."Mnth Name" use any varchar datatype column...
    Hope it helpful...
    Thanks
    Ashish Gupta

  • How to pass date parameter in URL in system date format

    Hi All,
    I am working on a requirement where I need to pass the date parameter in URL. Where date format needs to be system default date format. How can we format date without providing specific date format.
    Also, I got some post which had below example. Can you let me know what this format does.
    '/analysis/report?queryGroupName=Custom-ProjectInfo&TimePeriodBeginning=', <%+%> FCI_CHARFMT(TIME_PERIOD_START_DATE),' <%+%>
    '&TimePeriodBeginning_format=17&link_crumb=true'
    Waiting for response.
    Thanks,
    Saloni

    Hi,
    If you're running this in SQL*Plus, you can use substitution variables.
    If you have a file called my_query.sql, like this
    select    A.agent_no,
              (a.first_name || A.agent_name)     as agent_Name,
              P.Policy_No,
              D.Driver_No,
              D.mvr_predict_score,
           D.mvr_received
    from        policy  P,
           agent   A,
           Driver  D
    where       D.request_mvr_hit   = 'M'
    AND       D.mvr_predict_Score > 540
    And       D.request_mvr          = 'D'
    AND        p.fullkey           = d.fullkey
    AND       p.agent_no          = a.agent_no
    AND       d.mvr_received     >= TO_DATE ('&1', 'DD-Mon-YYYY')          -- New
    AND       d.mvr_received     <  TO_DATE ('&2', 'DD-Mon-YYYY') + 1     -- New
    order by  a.agent_no,
                 CASE  a.producer_type
               when  'S'  then 1
               when  'C'  then 2
               when  'R'  then 3
           end
    ;Then you can run it from SQL*Plus by saying something like:
    @my_query  1-Jan-2009  31-Dec-2009&1 in the script will be replace by the 1st argument (1-Jan-2009) and &2 will be replaced by the 2nd argument (31-Dec-2009).
    Notice that the last condition adds 1 to the argument
    AND       d.mvr_received     <  TO_DATE ('&2', 'DD-Mon-YYYY') + 1     -- Newbut uses the < operator (not <=). The result is that if mvr_received is any time on the last day (e.g. 31-Dec-2009 11:59 pm) will be included.

  • "Too Few Arguments" error when using Date Format

    I'm attempting to format some date information. I'm taking the following query:
    mysql_select_db($database_adventcms, $adventcms);
    $query_rsDatedetails = sprintf("SELECT * FROM tbEvents WHERE id = %s", GetSQLValueString($colname_rsDatedetails, "int"));
    $rsDatedetails = mysql_query($query_rsDatedetails, $adventcms) or die(mysql_error());
    $row_rsDatedetails = mysql_fetch_assoc($rsDatedetails);
    $totalRows_rsDatedetails = mysql_num_rows($rsDatedetails);
    and changing it to this:
    mysql_select_db($database_adventcms, $adventcms);
    $query_rsDatedetails = sprintf("SELECT *, DATE_FORMAT(datestart, '%b') AS whichMonth, DATE_FORMAT(datestart, '%Y') AS whichYear, DATE_FORMAT(datestart, '%D') AS whichDate FROM tbEvents WHERE id = %s", GetSQLValueString($colname_rsDatedetails, "int"));
    $rsDatedetails = mysql_query($query_rsDatedetails, $adventcms) or die(mysql_error());
    $row_rsDatedetails = mysql_fetch_assoc($rsDatedetails);
    $totalRows_rsDatedetails = mysql_num_rows($rsDatedetails);
    When I run it I get this error:
    Warning: sprintf() [function.sprintf]: Too few arguments in /home/iasindia/public_html/beta/newsandevents/eventdetails.php on line 60
    Query was empty
    which refers to the query line above. The odd thing is that same query works on a different query like this:
    $query_rsDates = "SELECT *, DATE_FORMAT(datestart, '%b') AS whichMonth, DATE_FORMAT(datestart, '%Y') AS whichYear, DATE_FORMAT(datestart, '%D') AS whichDate FROM tbEvents WHERE status = 'Live' AND datestart >= CURDATE() ORDER BY datestart DESC";
    $query_limit_rsDates = sprintf("%s LIMIT %d, %d", $query_rsDates, $startRow_rsDates, $maxRows_rsDates);
    $rsDates = mysql_query($query_limit_rsDates, $adventcms) or die(mysql_error());
    $row_rsDates = mysql_fetch_assoc($rsDates);
    But I can't get it to work on the $query_rsDatedetails above.
    Any help would be appreciated!

    The sprintf function is interpreting the date format type as an input. There are several solutions:
    http://stackoverflow.com/questions/5835534/mysql-query-date-format-and-sprintf

Maybe you are looking for

  • Two step stock transfer process

    hi All, i want to transfer material XYZ from plant AA to plant BB  in 2 step stock transfer. Qt= 2000 So first i am trying to remove stock from plant AA in 303 movement type. system throughing error message " Deficit of PL Stock in transfer 48000 PC:

  • Files deleted on memory card

    Hi, I just got a Nokia N73 and a 2GB memory card. One day i took the sim card out and put it in another phone and then back into my N73. First the phone asked for time and date information and then i saw that all my files on the memory card was gone?

  • Putting data to R3 table

    Hi, I am trying to put data to R3 table while putting data to r3 table i should get a error message if the same name is already exist. If not it should Enter. At present i have done all the things. But while inserting data i am getting    java.lang.N

  • Recent file access issue

    Hi all, Seemingly since the last round of updates from Microsoft, my users are seeing intermittent instances where existing Excel spreadsheets (and maybe Word documents, although that hasn't been reported,) are unable to be saved.  In two cases, afte

  • A Procedure doesn't update some rows in pre-prod while it does in dev box.

    Hi All, There are some data rows in a master table STG_CON in both environments(DEV and PRE_PROD). Making changes to any of these rows should be reflected in the CON table after the procedure is run, however it only seems to work reliably in DEV, but