Julian Date Conversion
I've been trying to figure this out for a few days now.
For work, I'm trying to show that I am willing to keep track of our cigarette inventory and each carton's expiration date. So, I've figured out how to read carton codes for products from Philip Morris. But I want to be lazy (lol) and not have to figure out what month, and then day of that month, each carton was manufactured in from the Julian Date provided on the carton.
My question is, how do I get Numbers to read "2009055" and convert it to "02/23/2009"? If there is a way and it requires a different input syntax, I'll be more than happy to change over to that instead. I haven't been able to figure it out. I'm sure there's someone out there who can figure this one out. I found instructions on how to do it in Microsoft Excel. I'm sure Numbers '08 can manage it somehow, right?
Thanks for your time,
-- Evan
Evan,
I'll share my solution with you on two conditions. First, I'd like to see the solution you found for Excel. Second I'd like you to promise to smoke only in your car with the windows up.
With your input in Column A, the conversion expression is:
=DATE(LEFT(A,4),1,1)+RIGHT(A,3)-1
By the way, 2009 is not a leap year, and in this date format I believe the convention is that January 01, 2009 would be "2009001", so 2009055 converts to "02/24/2009", not "02/23/2009".
I don't have Numbers 08 on this computer, so my test of the expression was done on Numbers 09, but I'm pretty confident that the result will be the same.
Regards,
Jerry
Similar Messages
-
Julian Date Conversion (Dublin Julian)
Hi,
I'm working with BO Designer and am connecting to an AS400 database that uses Dublin Julian for the date field. I'm trying to get the Dublin Julian format to the YYYY-MM-DD format. Currently, the Dublin Julian is formatted as a 5 digit number field. For example, 2011-01-31 would be represented as 40574. I believe the epoch, or start count day for the Dublin Julian day fell on Sunday, December 31, 1899. Can anyone help me with this calculation within Designer?
Thank you,
TylerYou should be able to convert the 5 digit integer to a date by using the date function within the Crystal Reports Designer tool. The formula could look like this:
date(.) -
Conversion from YYYYMMDD to Julian Date in BPEL
Hi,
My requirement is to convert date format from YYYYMMDD to Julian Date (CYYDDD) in BPEL.
C - Stands for Century
Would like to know a way to achieve this conversion in BPEL. Please suggest.
Appreciate your quick help.
Thanks
Priyanka GHi,
I suggest you use a java activity for that... There are many examples in java on how to convert a date to julian...
Cheers,
Vlad -
Conversion of Hiredate to Julian date
Hi Gurus,
Need help in Conversion of hiredate of emp table to Julian date...
to_date('HIREDATE','YDDD')
ThanksHi,
SeenuGuddu wrote:
Hi Gurus,
Need help in Conversion of hiredate of emp table to Julian date...
to_date('HIREDATE','YDDD')
ThanksIf you have a DATE column called hiredate, then you can use TO_CHAR to display it in the format you want, like this:
TO_CHAR (hiredate, 'YDDD')Notice that there are no quotes around the first argument.
Use TO_DATE if you are starting with a string and you want to produce a DATE. For example:
TO_DATE ('9320', 'YDDD')or, if you have a column called hiredate_text:
TO_DATE (hiredate_text, 'YDDD')Again, the first argument is not quoted, because it is a column name, not the literal value.
The Julian Date is (currently) a 7-digit number. If you use some other coding system for dates, it will only cause confusion if you call it "Julian".
There's already enough confusion between "Julian Date" and "Julian Calendar" (which Oracle uses for dates up to 1582). -
Conversion of Julian date to YYYYMMDD
Hi,
The flat file has the date in Julian date format YYYYDDD. How to load it into infoprovider in the format YYYYMMDD?
Thanks.To get the YYYY portion of the Gregorian Date, you would use the YYYY portion of the Julian Date.
To get he MMDD portion of the Gregorian Date you would start with the DDD portion of the Julian Date and start subtracting 31, 28 (or 29 in leap years), 31, 30, 31, 30, 31, 31, 30, 31, 30, and 31, successively, until you first get a result which is zero or negative. The month MM is the number of subtractions you have done, and the last positive subtraction result is the day DD.
As an example, let's use a Julian Date of 2009.278. The YYYY of the Julian Date (2009) would be the YYYY for the Gregorian Date. To get MMDD, start subtracting from 278 as follows:
278 - 31 = 247
247 - 28 (2009 not being a leap year) = 219
219 - 31 = 188
188 - 30 = 158
158 - 31 = 127
127 - 30 = 97
97 - 31 = 66
66 - 31 = 35
35 - 30 = 5
5 - 31 = -26
Since the tenth calculation was the last result that was positive, the MM is 10 and since the positive value from that is the DD or 5. This would result in a Gregorian Date of 20091005. -
JDCB Driver not doing data transformation on Julian dates and amount fields
Hi All,
In our newly installed BI Publisher instance (10.1.3) is not doing any data transformation on JDE Julian dates and Decimals. I've read that these field values are supposed to be converted automatically. Is there some setting in the JDEJDBC driver connection that makes this happen?
While working with Oracle support I've found the following:
1. Beware of white space in the collection string.
2. Make sure the JDE user logging in goes straight to JDE and has full view privlidges on the tables you are selecting on.
3. Parameters are not supported by the JDEJDBC Driver -- this pretty much renders this application worthless. Does anyone know of any workarounds?
Database IBM DB2 UDB version 6.1
JDE Version: World A7.3
Edited by: enorton on Jun 30, 2010 2:02 PMLets try com.jdedwards.as400.access.JDEWJDBCDriver (download from oracle support)
JDEWorldJDBC.jar There is inbuild date conversion and decimal shift. -
I have a file that reads in date
MMDDYYYY from the user.
I need to pass this parameter somewhere to convert it
into a julian date. I will later use this julian date to query a database based on the start and ending date criteria.
How do I make the conversion?
RycherXhttp://forum.java.sun.com/thread.jsp?forum=31&thread=198725
http://forum.java.sun.com/thread.jsp?forum=57&thread=120630
http://forum.java.sun.com/thread.jsp?forum=31&thread=56572
http://forum.java.sun.com/thread.jsp?forum=256&thread=44652
http://forum.java.sun.com/thread.jsp?forum=31&thread=192366
Here are a few threads with similar questions. It took about 30 seconds of searching to find these. If you don't find the right answer, please ask again and provide any code you have already started. -
GL Data Conversion from Legacy to Oracle EBS
Hi All,
I am tasked with converting legacy data into GL. I have worked on other conversions like supplier, AR and AP conversions but never worked on GL conversion, so I don't know how and where to start, what are the pre-requisites for entering data into gl_interface table how to ensure that data is correct in the .csv file etc.
Kindly request you all to guide me in right direction. Hope to hear from you all very soon!!! :)
RegardsHi,
When you talk about GL-Data it is the trial balance to be loaded from legacy to oracle applications.
You can use Web-ADI to upload it ,the check list are
The balance for each account comibnation in the legacy system to be mapped to GL-Oracle code combination balance
With respect to open AR, AP Invoices if the invoices are converted using a control account for migration in GL then
the the balance transfered from AP,AR need not be reversed in GL from the source receivables and payables.
In case if the same account combination are for migrating the balances from AP,AR to GL ..Then the balances transferred from AP,AR should be reversed ..so that it does not affect the TB-GL-Balance
Finally ensure that the balance for the TB-tallys with your legacy system and upload it using Web-ADI ,import and
review and post it.
Hope this points helps your GL-Data conversion.
Regards,
Ramaa -
Data conversion strategy 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
EmmHi David,
for master data conversion you can use LSMW and the RE-FX BAPIs. (please refer to SAP note [782947|https://service.sap.com/sap/support/notes/782947] ).
Regards, Franz -
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
Emmemm 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 in SAP E-Recruiting.
Hi SAP E-Recruiters,
Our client is using a Legacy application for recruiting candidates where it has 5000 candidates data base (internal and external candidates' applications).
Now they are asking for movement of this whole data to the newly implementing SAP E-recruiting system. We are exploring various data conversion methods and found that BDC, LSMW will not work for E-recruiting data upload as we have every thing in BSP/Web Dynpro pages here.
We need your help in finding a solution for moving this data from legacy to SAP E-Recruiting. Pls do the needful.
Thanks,
SudheerSudheer,
So far there are no SAP delivered migration methods or BAPI's available conversion of candidates/applications, as you have already specified BDC's wouldnot work. Internal candidates always can be brought over in eRecruitment with integration techniques between PA and eRecruit depending upon the landscape.
However, for external candidates custom conversion programs have to be written by making use of methods/function modules that are used in BSP/WebDynpro.
regards
Sridhar -
Crystal Data Conversion Issue (Error converting data type varchar to datetime)
Hi,
I can run stored procedure without error in SQL Server using my personal credentials as well as database credentials.
I can also run Crystal Report after connecting to Stored procedure without error on my desktop using my personal credentials as well as database credentials.
But when I upload the crystal report in BOBJDEV and when I run using database credentials report fails saying that "Error in File ~tmp1d1480b8e70fd90.rpt: Unable to connect: incorrect log on parameters. Details: [Database Vendor Code: 18456 ]" but I can run the crystal report successfully on BOBJDEV using my personal credentials.
I googled (Data Conversion Error Message) about this issue & lot of people asked to do "Verify Database" in Crystal Report. So I did that, but when I do it I am getting a error message like this:
Error converting data type varchar to datetime.
Where do you think the error might be occurring? Did anyone faced this kind of issue before? If so, how to resolve it?
(FYI, I am using Crystal Reports 2008, & for stored procedure I have used SSMS 2012 )
Please help me with this issue.
Thanks & Regards.
Naveen.hello Naveen,
since the report works fine in the cr designer / desktop, we need to figure out where you should post this question.
by bobjdev do you mean businessobjects enterprise or crystal reports server? if so please post this question to the bi platform space.
-jamie -
Billing Legacy master & transactional data conversion/migration in SAP ISU
Hi Experts,
Please let me know, in ISU implementation project, what is Billing related Legacy master & transactional data conversion/migration is done in SAP ISU system.
Thanks in advancePankaj,
There is no straight forward transaction to download the Configuration data and export it to a file.
However, you can use the BC set functionality to extract the IMG node with its contents.
Check the following SAP help portal link for more info on BC sets
Business Configuration Sets (BC-CUS) - SAP Library
The archive data that you are talking about; Is it master data or transaction data?
Also, what this data is related to-Financial Documents, Billing related info?
There is one standard transaction SARA through which based on the migration object you can archive the data and export it into a file in a particular location..
Hope it helps..
Thanks,
AB -
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,
Sam1) 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 anyone Explain about Data conversion for Material master In SAP MM
Can anyone Explain about Data conversion for Material master, Vendor In SAP MM
ThanksHi,
Refer following link;
[Data Migration Methodology|http://christian.bergeron.voila.net/DC_Guide/Data_Migration_Methodology_for_SAP_V01a.doc]
Maybe you are looking for
-
Iphoto library missing and cannot recreate thumbnail
I cant find iphoto library under the picture folder and so I tried to recreate/repair thumbnails. However, alt+command during the launch of iphoto do not bring up any window for the recreate/repair function . A friend suggested that I reinstall ipho
-
Thread: Predefined Search Help for WERKS doesn't work properly
Hi I read the above thread which partially helped solve my problem. I would like to include werks-low and werks-high on the input screen both with search help and also allow user to input multiple selection if needed. All help welcome Torben
-
BAPI or FM to update Commitment
HI GURUs, I have a scenariio where PO is not created in R3 system. It is created in other software. We want to update commitment and budget checking aginst WBS element, as and when PO with WBS is created in other system. Can anyone suggest any BAPI
-
Add Cloud Computer System error
Hi Trying to 'Add Cloud Computer System' and it just closes down the app. Any ideas? Thanks
-
Simple Class and the Display List
I have very simple code for a class: package import flash.text.TextField; import flash.display.Sprite; public class Greeter extends Sprite public function Greeter() var txtHello:TextField = new TextField();