PC Review


Reply
Thread Tools Rate Thread

how to convert from julian date to mm/dd/year

 
 
=?Utf-8?B?cm9iaW4gd2F0ZXJzb25n?=
Guest
Posts: n/a
 
      8th Sep 2007
My data was originally in accounting system as standard date but when I have
to query database (using MicroSoft Access), the data results for dates have
been converted to julian. I cannot find my old formula to allow me to
convert julian dates back into standard date format such as mm/dd/yr. Can
anyone please help?

Thank you,
Robin
 
Reply With Quote
 
 
 
 
Earl Kiosterud
Guest
Posts: n/a
 
      8th Sep 2007
Robin,

First of all you need to be sure they're really julian, not just unformatted date-serial
numbers used by Excel and Access. The Excel date-serial number for today's date (Sep 8) is
39333. The julian is 07251. If they're Excel date-serials, try Format - Cells - Number
tab - Date, and apply any desired date format.

See Chip Pearson's page on Julian dates for more info, and formulas to do conversions.
http://www.cpearson.com/excel/jdates.htm
-
Regards from Virginia Beach,

Earl Kiosterud
www.smokeylake.com

Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
"robin watersong" <robin (E-Mail Removed)> wrote in message
news:F2189DBE-2F60-4A24-947F-(E-Mail Removed)...
> My data was originally in accounting system as standard date but when I have
> to query database (using MicroSoft Access), the data results for dates have
> been converted to julian. I cannot find my old formula to allow me to
> convert julian dates back into standard date format such as mm/dd/yr. Can
> anyone please help?
>
> Thank you,
> Robin



 
Reply With Quote
 
MartinW
Guest
Posts: n/a
 
      8th Sep 2007
Hi Robin,

Chip Pearson explains it here.
http://www.cpearson.com/excel/jdates.htm

HTH
Martin



"robin watersong" <robin (E-Mail Removed)> wrote in
message news:F2189DBE-2F60-4A24-947F-(E-Mail Removed)...
> My data was originally in accounting system as standard date but when I
> have
> to query database (using MicroSoft Access), the data results for dates
> have
> been converted to julian. I cannot find my old formula to allow me to
> convert julian dates back into standard date format such as mm/dd/yr. Can
> anyone please help?
>
> Thank you,
> Robin



 
Reply With Quote
 
=?Utf-8?B?T3NzaWVNYWM=?=
Guest
Posts: n/a
 
      8th Sep 2007
Hi Robin,

Assuming that the date is in cell A1 then the following should do the trick.
With this formula it does not matter if Julian date has 2 or 4 digits. eg for
Sep 8 2007 the Julian date can be 07251 or 2007251. The nested formula
LEFT(A1,LEN(A1)-3) takes care of it by subtracting the 3 characters
representing the number of days from beginning of year from the total number
of characters.

=VALUE(TEXT("1/1/"&LEFT(A1,LEN(A1)-3),"mm/dd/yyyy"))+VALUE(RIGHT(A1,3))-1

You will need to format the cells with the formula to mm/dd/yy. (Or any
other valid date format that you prefer)

Regards,

OPssieMac



"robin watersong" wrote:

> My data was originally in accounting system as standard date but when I have
> to query database (using MicroSoft Access), the data results for dates have
> been converted to julian. I cannot find my old formula to allow me to
> convert julian dates back into standard date format such as mm/dd/yr. Can
> anyone please help?
>
> Thank you,
> Robin

 
Reply With Quote
 
=?Utf-8?B?cm9iaW4gd2F0ZXJzb25n?=
Guest
Posts: n/a
 
      9th Sep 2007
Thank you Martin...saved me much dusting of the brain cells where the Excel
tricks are stored...especially when the project is due Monday AM!

"MartinW" wrote:

> Hi Robin,
>
> Chip Pearson explains it here.
> http://www.cpearson.com/excel/jdates.htm
>
> HTH
> Martin
>
>
>
> "robin watersong" <robin (E-Mail Removed)> wrote in
> message news:F2189DBE-2F60-4A24-947F-(E-Mail Removed)...
> > My data was originally in accounting system as standard date but when I
> > have
> > to query database (using MicroSoft Access), the data results for dates
> > have
> > been converted to julian. I cannot find my old formula to allow me to
> > convert julian dates back into standard date format such as mm/dd/yr. Can
> > anyone please help?
> >
> > Thank you,
> > Robin

>
>
>

 
Reply With Quote
 
=?Utf-8?B?cm9iaW4gd2F0ZXJzb25n?=
Guest
Posts: n/a
 
      9th Sep 2007
Thank you OssieMac....I love the cell play-by-play....works beautifully!

"OssieMac" wrote:

> Hi Robin,
>
> Assuming that the date is in cell A1 then the following should do the trick.
> With this formula it does not matter if Julian date has 2 or 4 digits. eg for
> Sep 8 2007 the Julian date can be 07251 or 2007251. The nested formula
> LEFT(A1,LEN(A1)-3) takes care of it by subtracting the 3 characters
> representing the number of days from beginning of year from the total number
> of characters.
>
> =VALUE(TEXT("1/1/"&LEFT(A1,LEN(A1)-3),"mm/dd/yyyy"))+VALUE(RIGHT(A1,3))-1
>
> You will need to format the cells with the formula to mm/dd/yy. (Or any
> other valid date format that you prefer)
>
> Regards,
>
> OPssieMac
>
>
>
> "robin watersong" wrote:
>
> > My data was originally in accounting system as standard date but when I have
> > to query database (using MicroSoft Access), the data results for dates have
> > been converted to julian. I cannot find my old formula to allow me to
> > convert julian dates back into standard date format such as mm/dd/yr. Can
> > anyone please help?
> >
> > Thank you,
> > Robin

 
Reply With Quote
 
=?Utf-8?B?cm9iaW4gd2F0ZXJzb25n?=
Guest
Posts: n/a
 
      9th Sep 2007
Hey Earl...thanks for checking on the posibities of being a seriel number but
it was a jewel of a julian. Thanks for the answers!
Regards from
Houston,

Robin

"Earl Kiosterud" wrote:

> Robin,
>
> First of all you need to be sure they're really julian, not just unformatted date-serial
> numbers used by Excel and Access. The Excel date-serial number for today's date (Sep 8) is
> 39333. The julian is 07251. If they're Excel date-serials, try Format - Cells - Number
> tab - Date, and apply any desired date format.
>
> See Chip Pearson's page on Julian dates for more info, and formulas to do conversions.
> http://www.cpearson.com/excel/jdates.htm
> -
> Regards from Virginia Beach,
>
> Earl Kiosterud
> www.smokeylake.com
>
> Note: Top-posting has been the norm here.
> Some folks prefer bottom-posting.
> But if you bottom-post to a reply that's
> already top-posted, the thread gets messy.
> When in Rome...
> -----------------------------------------------------------------------
> "robin watersong" <robin (E-Mail Removed)> wrote in message
> news:F2189DBE-2F60-4A24-947F-(E-Mail Removed)...
> > My data was originally in accounting system as standard date but when I have
> > to query database (using MicroSoft Access), the data results for dates have
> > been converted to julian. I cannot find my old formula to allow me to
> > convert julian dates back into standard date format such as mm/dd/yr. Can
> > anyone please help?
> >
> > Thank you,
> > Robin

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print the day of the year (or Julian date) on an Outlook calendar? =?Utf-8?B?TC4gQS4gVy4=?= Microsoft Outlook Calendar 1 2nd Mar 2007 12:06 AM
Pulling a date from a two digit year and julian date Ziggs Microsoft Access 3 25th Dec 2006 07:59 PM
Convert a julian gregorian date code into a regular date =?Utf-8?B?Um9iZXJ0?= Microsoft Excel Worksheet Functions 3 13th Jun 2006 07:03 PM
How to convert normal date to Julian date upto milliseconds precision Rajat Microsoft C# .NET 2 21st Mar 2006 06:06 AM
converting julian day and year to a date? =?Utf-8?B?Q2hhZCBOb3JkYmVyZw==?= Microsoft Excel Worksheet Functions 1 27th Feb 2006 10:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:45 PM.