Date conversion for display

Hi gurus,
I have a date which is stored as un number : 38'812
How can I have the real date with this number ? I have to substract or divide this number by 1900** or something like that ?
Thanks in advance
Aleksi

Hi Aleksi,
Are you loading this date from flatfile?
If so, before loading you an change the formatting of the date column in microsoft excel itself and you will get the date.
Rightclick on the cell in excel, select format cells, Under the number tab select Category as custom and in the box provided for Type - put yyyymmdd.
Your date will be formatted.
Hope it helps.
Regards.

Similar Messages

  • Where to perform date conversion for display?

    Hi,
    We have started our application with operation for single country, all data located in single database. The transaction history time stored is all in GMT+8.
    However, with business expansion, we now have to cater for multiple country that is of different timezone. I need to display the transaction history in local time to the user of the different timezone.
    Gut feel says i should continue to store all the time in a single timezone (i.e. probably GMT+8 for my case). And perform conversion during for the display.
    Question is where should i be doing this? I am using Struts for web tier, EJB and Mysql. Based on MVC pattern, it seems that this should be done in Struts layer (probably DispatchAction).
    Any recommended pattern? Any idea how to handle daylight saving?

    Yes, you should store all your timestamps in the same timezone. And it would be best if your database server uses the same timezone as your application server, otherwise you could run into problems.
    Now, the java.util.Date object and its SQL relative java.sql.Timestamp consist only of a single number, which is the number of milliseconds since a certain point in time. Normally they are what you get from the database. The thing to remember about them is that they do not have a timezone. As you suspect, displaying them applies a timezone to them. If the displaying is done by SimpleDateFormat -- which it should be, whether you do it in code or Struts does it -- you just need to make sure that the SimpleDateFormat has been assigned the correct timezone. This takes care of daylight savings time as well.
    Finding out what timezone your users are in may be more tricky than you expect, but this depends on where they are located. You can't necessarily derive a timezone from a country, so you may have to ask the user what their timezone is.

  • Can anyone Explain about Data conversion for Material master In SAP MM

    Can anyone Explain about Data conversion for Material master, Vendor  In SAP MM
    Thanks

    Hi,
    Refer following link;
    [Data Migration Methodology|http://christian.bergeron.voila.net/DC_Guide/Data_Migration_Methodology_for_SAP_V01a.doc]

  • Data Conversion for Project Module

    Dear all,
    I have a requirement to perform data conversion for Project module from 11.5 to R12. I am new to this module. Can anybody can outline (or provide documentation reference):
    1)Source tables in 11.5
    2)Data Selection for source tables in 11.5
    3)Validations need to be performed for data clean up
    4)Interface tables and interface programs in R12
    Thanks,
    Sudip

    See the following links for information on all R12 interfaces
    Oracle Integration Repository Documentation Resources Release 12 (Doc ID 396116.1)
    Note: 462586.1 - Where are the Oracle® Release 12 (R12) API Reference Guide?
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=462586.1
    Note: 458225.1 - Release 12 Integration Repository
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=458225.1
    If you are on 11i, go to irep.oracle.com
    Hope this helps,
    Sandeep Gandhi

  • Where does one manage date formats for display and input

    the user specification is that dates be displayed as YYYY-MON-DD. Is there a config or properties file which contains the date format for display? Is there a calendar drop-down that can be positioned next to a date input field for a question on a screen?
    Thanks,
    Allan

    Hi Allan,
    Curious why the rule project wasn't created with "English (Canada)" initially? If your project is English (UK) with the default configurations for that locale, then I assume your currency values are appearing in OWD with the GBP symbol (£) instead of a dollar sign ($)?
    As for the impact of switching… I highly recommend getting confirmation from the OPA Dev team before doing it, but in the meantime, if you wanted to experiment on your own with a separate test rulebase (as opposed to whatever formal rulebase you're working on), here are my observations from an initial look… (FYI, I'm an experienced OPA rulie, but I'm non-technical and not in the Dev team, so best to check with them!)
    I poked around the language parser files and saw that English (UK) has an English (UK) verb list, whereas English (Canada) uses the English (US) verb list. The vast majority of verbs are identical in all the variations of English, however, there are a couple which differ. So if you've used any verbs which have a different spelling between the 2 lists, there may be some attribute text to tweak, e.g.
    - English (UK): the person travelled to Australia
    - English (US): the person traveled to Australia
    - English (UK): the person cancelled the reservation
    - English (US): the person canceled the reservation
    I saw some other different files between English (Canada) vs English (UK), but didn't notice anything in them which I'd expect to impact the rulebase.
    As for how it might impact other components:
    * screens file and the properties file – May be some tweaking depending on how you addressed the verb spelling issue above.
    * regression test files – May be some tweaking depending on how you addressed the verb spelling issue above.
    * messages.(locale).properties – The default messages.(locale).properties file appears to be based on the Language setting of the Project. I just tested this and OWD used a different messages.(locale).properties file when I changed the Project Language (OPM | File menu | Project Properties | Common Properties | General | Language).
    * Siebel Connector – don't know what the impact would be.
    OPA Dev team – Can you review what I've said here? And add any relevant further detail?
    Cheers,
    Jasmine

  • Data conversion for new sob

    Dear Viewers
    on 11.5.10
    We are creating a new SOB with a change in currency from Feb-11 as this is the requirement
    For the same, we need to do data conversion.
    I have a confusion for Purchase Orders and Sales Orders
    Purchase Orders:
    Open purchase orders will be converted, means the unfulfilled PO`s i.e the ones not received and are fully open.
    The PO`s which have been recieved but not delivered, Requested the users to clear the intransit receipts.
    The PO's which are partially received, what to be done for them?
    If a PO is fully received and Delivered will not me converted to the new SOB as its not an open PO
    but If invoice comes after Feb-11, than how the matching will be done?
    What if a return has to be made moving forward in FEB-11 under new SOB
    Sales Orders:
    Open sales orders will be converted, that is the ones that have been entered and not yet booked.
    Users have been requested to clear off the Sales order lines which are already pick confirmed but not yet shipped, hence they will be shipped and interfaced to AR
    For the Sales orders that have been booked, those lines that are not yet processed further will also be converted.
    Now what if a receipt comes after feb 11, how to handle this as the sales order wiould not have been converted?
    Please give your advise on the data migration strategy for PO`s and SO's.
    Please do add any point that may have been missed by me
    Appreciate your help
    Thanks
    Emm

    emm wrote:
    Purchase Orders:
    Open purchase orders will be converted, means the unfulfilled PO`s i.e the ones not received and are fully open.
    The PO`s which have been recieved but not delivered, Requested the users to clear the intransit receipts.
    The PO's which are partially received, what to be done for them?
    If a PO is fully received and Delivered will not me converted to the new SOB as its not an open PO
    but If invoice comes after Feb-11, than how the matching will be done? <br>Business needs to take a decision whether they are fine with matching the POs manually (i.e. referring the documents and verify), in this case you may capture the PO information in a DFF in the Invoice distribution. Otherwise if it has to be converted identifying the POs under this scenario, you may consider converting those maintaining receipt close tolerance as 100% and matching type as 2 -way (again business approval needed to handle audit issues) in order to avoid the receipts/delivery conversion etc.<br>
    What if a return has to be made moving forward in FEB-11 under new SOB<br>Ideally returns can be done using Miscellaneous/Account Alias Issues specifying the appropriate transaction reasons to clarify the scenario.<br>

  • Data conversion for New GL - Going live during fiscal year

    Hi Experts,
    My client is going live on Oct 1 (fiscal year in Jan -Dec). So for data conversion we need to load P&L and BalanceSheet as of Sept 30, 2009.  I need your help to resolve few open issues. (we have activated Doc Splitting with Zero Balance and Segment )
    1) When we load P&L balances - how can I assign Profit Centers to all these P&L iitems .  
    2) What is the procedure (best practices) to assign Profit Centers to all the Balance Sheet items since we are going live during Fiscal Year
    3) When we process open items  (AR, AP) in month of October how the Profit Center assignment will work?
    (My client will be using Profit /Cost center terminology first time, so we need to map all the B&S and PnL items to Profit centers)
    4) What is the best way to map all the Balance Sheet GL accounts to Profit Centers.
    Sorry for asking too many questions. Any help would me very much appreciated.
    Thanks,
    Sam

    1) When we load P&L balances - how can I assign Profit Centers to all these P&L iitems .
    Each P&L account balance has to be upload with cost centre, then automatically PC will be triggered.
    2) What is the procedure (best practices) to assign Profit Centers to all the Balance Sheet items since we are going live during Fiscal Year
    Let client decide the profit centre for balance sheet items, since they knows which balance relates to which pc
    3) When we process open items (AR, AP) in month of October how the Profit Center assignment will work?
    While uploading AR,AP balances, each line item to be uploaded with profit centre, automatically in october PC assignment will work.
    (My client will be using Profit /Cost center terminology first time, so we need to map all the B&S and PnL items to Profit centers)
    4) What is the best way to map all the Balance Sheet GL accounts to Profit Centers
    Try to identify each balance sheet gl balance to each profit centre, this will help in future reports. otherwise put in common pc

  • Can we achieve data conversion for my scenario key value pair

    My data 
    create table test
    ( id int,name varchar(10),value int, color varchar(20))
    I would like to have data in the following format 
    where each id will combination of data set for each row for a id and separated by delimiter from another set
    like a key value pair
    ID Value
    1 |a,10,green|a,15,blue|
    2 |b,11,red|b,12,yellow|
    Please let me know if this can be achived in SSIS using trasnformation or in SQL ?
    And if so what is the best approach to hande this conversion
    Mudassar

    Thanks for your help.
    I can assume that it can only be handled in SQL and this cant be done in SSIS transformations.
    EXAMPLE 4 - Using XML PATH & correlated subquery for sublist
    -- Create comma delimited sublist
    SELECT   Subcategory = ps.[Name],
             ColorList = Stuff((SELECT DISTINCT  ',
    ' + Color AS [text()]
                                FROM AdventureWorks2008.Production.Product
    p
                                WHERE p.ProductSubcategoryID = ps.ProductSubcategoryID
                                FOR XML PATH ('')),1,1,'')
    FROM     AdventureWorks2008.Production.ProductSubcategory
    ps
    ORDER BY Subcategory;
    GO
    Subcategory             ColorList
    Helmets                 Black, Blue, Red
    Hydration Packs         Silver
    Jerseys                 Multi, Yellow
    Mudassar

  • Data conversion for OAF pages

    Hi,
    Can dataload handle data upload in OAF application? or
    Is there any tools in the market for data conversion that is for OAF, instead form based application.

    Have you read Metalink Note 563047.1 - Using Oracle Application Framework (OAF) and Application Development Framework (ADF) ?

  • Data Conversion for BOMs and/or Routings

    I am looking for any examples for design spec for Data Conversion of Bill of Materials and/or Routings.
    Not sure if this would be in form of MD050 but any example would be appreciated

    Hi;
    Please check below links:
    Oracle Bill of Materials User's Guide
    http://download.oracle.com/docs/cd/A85683_01/acrobat/115bomug.pdf
    http://horizon.more4apps.com/doco/BMWRelease/output/index.htm
    Also see:
    Getting Started With R12 - Discrete Manufacturing Support Enhanced Release Content Document [ID 415922.1]
    Regard
    Helios

  • Date conversion for internal table

    Hi experts,
    I have an issue with Date conversion.
    i have declared my internal table with type same as that of standard table from which im fetching data.
    The date is coming in YYYYMMDD format and i have to change it to MM/DD/YYYY format.
    I tried using a function Module and used Mask as well . It is working but wen im putting the value back into my internal table it is truncating my conver sion .
    For eg : 20110530 after conversion and wen im putting it back to internal table value is : 05/30/20
    bacuse of length issue "11" disappeared.
    I tried changing the type declaration of my internal table to : date(10) type c.
    But wen im executing the code, the place were im putting the values from my standard table to internal, it is giving run time error.
    can anyonenhelp me with this?

    Hi,
    Why not have the date in MMDDYYYY format truncating the '/' part. Doing this would reduce the size to 8. Which can later be added in any field level rotine.
    Regards
    Raj Rai
    Edited by: Raj Rai on Jun 1, 2011 5:48 AM

  • Data conversion for communication between Java and C/C++ program

    The real problem, i guess, is about data type conversion between Java and C programs. For instance, and int is supposed to be 4 bytes in Java, and also in C/C++. But, as far as I know, the size of and int in C depends on the processors architecture, so if it were a 64 bit arch., size of and int, double, etc. in C, would change. The real scenario would be a communication between a 32 bit machine (Java) and a 64 bit machine (C/C++).
    First of all, is this assumption correct?
    If so,
    how is it possible to deal with this problem in Java?
    Is there any way to know 'type length' automatically? or
    would it be necessary to modify the Java program to work with a C program in 32-bit or 64-bit arch?
    thx in advance

    cotton.m wrote:
    Yes you should develop the C part of the protocol first and then build from there.
    See http://forum.java.sun.com/thread.jspa?threadID=5243547 for a previous discussion of this topic.
    I understand what you mean, also the topic you referenced. I will explain the situation a bit more. The protocol is already defined: (16 bits message size, 16 message id, 32 bit time, etc.); it is also defined in C (structures and so on). So it would be easy to write my Java code using the specified protocol in bytes, and C types wouldn't be necessary to be considered. But, let's say that the C code can't be modified, and I thought (and don't know yet if its correct), that size of C types CAN changed depending on architecture. So if size changes for C types (code is specified in short, int, etc, and not in bit format), it all would be a mess, if I don't implement something in my Java code.
    cotton.m wrote:
    I don't believe that 32 or 64 bit enters the equation here at all.Maybe 32 o 64 doesn't mind, but sparc or PC could take a point here. Communication would be between a sun solaris sparc and windows x86 PC. But if type size in C/C++ does not change, I wouldn't really have any problem then...
    The situation is not ideal, I know, but is what I have; and I think I could have problems if I run the C program in other machines; so I would have to try to solve it whithin my Java Program.
    I hope it is clear now what I need.
    thx
    Edited by: MGasa on Jan 16, 2008 1:51 AM

  • Data conversion for Vertex series O upgrade

    Hello Experts,
    We have Vertex Q series already in place and currently moving to O series.
    Due to tax jurisdiction code structure changes, Vertex has suggested us to convert all master data and transaction data to have new Tax jurisdiction code as per O series.
    We found conversion programs but, facing issue due to tax jurisdiction code structure changes from Q to O.
    Basically OSS notes applied for Q series do not support O series and could not find new OSS notes fixing such issues for O series.
    Has anyone face this problem before? Any input will be highly appreciated.
    Thank you,
    Gouri.

    Hello Experts,
    We have Vertex Q series already in place and currently moving to O series.
    Due to tax jurisdiction code structure changes, Vertex has suggested us to convert all master data and transaction data to have new Tax jurisdiction code as per O series.
    We found conversion programs but, facing issue due to tax jurisdiction code structure changes from Q to O.
    Basically OSS notes applied for Q series do not support O series and could not find new OSS notes fixing such issues for O series.
    Has anyone face this problem before? Any input will be highly appreciated.
    Thank you,
    Gouri.

  • Seconds to Time Conversion for Display on a Cross-Tab

    Post Author: [email protected]
    CA Forum: Formula
    I am doing a cross-tab report of login times for hours logged into a system. In the cross-tab if i use the time, I can't sum. So i have the time converted to seconds to allow for a sum and totals.  Now I need to change the display of the field to time.   When I go to my Format Field of the field in seconds, under Common tab i go to Display String.  I put in the following formula: totext((/60)/60,0,"","") & ":" & totext(truncate(remainder(/60,60)),0) & ":" & totext(remainder({Secondin_Logins.T},60),0);   My problem is it changes all to report the same time; no time is different. And the formula is wrong becuase when i do the hours if it is .501 or high it rounds up. Anyone have any solutions to convert seconds to Time?

    Post Author: V361
    CA Forum: Formula
    Part of the probem may be the crosstab,   any way, this example uses a group but should be generic enough to give you some ideas.
    whileprintingrecords;
    StringVar Hours1;
    StringVar Minutes1;
    StringVar Seconds1;
    NumberVar time2;
    time2:= 0;
    if Sum ({Work Time}, ) = 0 then 0 else
    time2:= Sum ({Work Time}, );
    If time2 <= 0 Then
    "00:00:00"
    Else
    ( Hours1:=ToText(Truncate(time2/3600),0);
    Minutes1:=ToText(Truncate(Remainder(time2,3600)/60),0);
    Seconds1:=ToText(Remainder(Remainder(time2,3600),60),0);
    //Display the time formated.
    (if length(Hours1) < 2 then '0') + Hours1 + ":" +
    &#91;"0",""&#93;&#91;length(Minutes1)&#93; + Minutes1 + ":" +
    &#91;"0",""&#93;&#91;length(Seconds1)&#93; + Seconds1);

  • Data Conversion for profit center group

    Hi,
    I need help uploading profit center groups (KCH1) into the R/3 system. Which is recommended - to use LSMW or create a BDC program?
    Thanks in advance!

    If u have considerably less no of field it is better to go BDC.
    But the maintainance of bdc is little bit difficult.i.e adding and removing of fields after recording is difficult.
    other wise if u have standard objects go for LSMw

Maybe you are looking for

  • Performance of filtering a report using another report

    Hello, There are really two questions in this post: i) Is there an easier way to select all contacts who have never responded positively to a campaign than to filter our report using the output of another report which selects all contacts who respond

  • Fully utilizing all CPU's for a LabVIEW application

    Hi All, Have any of you figured out how to harness all of the CPU's in modern machines? Backgroud: I have an application that does a lot of signal processing and it was pegging the CPU of the machine it was originally deployed on for many minutes. As

  • Issues with XML Source Code

    Has anyone seen or heard fo this issue: I was sent a new xml source code and loaded it into my .rtf file. When I went to preview the file it showed up no problem. All great and dandy! When I tried to add a field and preview the field would not show u

  • Project in PRE10 will burn as blu-ray but will not burn as DVD.

    I created a project of still images in PRE10 with the NTSC-HDV-HDV 1080i 30 settings.  I burned the project as a blu-ray and it turned out great.  I tried to burn the same project to a DVD and it goes through the encoding process fine.  However, when

  • Dual Boot : Installing Windows XP on a Power Mac G5?

    I am trying to figure out if it is possible to install Windows XP on a Power Mac G5? There are several Massive Multiplayer games that are only available for Windows/PC users. I need to have access to OSX also it is what I use for everything else. I s