A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date function that changes Julian to Gregorian Dates?



 
 
Thread Tools Display Modes
  #1  
Old September 21st, 2006, 09:34 PM posted to microsoft.public.access.queries
goose
external usenet poster
 
Posts: 16
Default Date function that changes Julian to Gregorian Dates?

Is there a function or expression that changes a Julian date (e.g 106094) to
a Gregorian Daten (4/4/2006). I haven't had any luck locating one. Thanks.
  #2  
Old September 21st, 2006, 10:26 PM posted to microsoft.public.access.queries
John Vinson
external usenet poster
 
Posts: 4,033
Default Date function that changes Julian to Gregorian Dates?

On Thu, 21 Sep 2006 13:34:02 -0700, Goose
wrote:

Is there a function or expression that changes a Julian date (e.g 106094) to
a Gregorian Daten (4/4/2006). I haven't had any luck locating one. Thanks.


There are many flavors of "Julian Dates" - astronomical JD, Modified
Astronomical, military, etc. I am GUESSING that yours uses 106 as the
number of years since 1900 and 094 as the number of days into the
year?

If so, try

DateSerial(1900 + [JulianDate] \ 1000, 1, [JulianDate] MOD 1000)


John W. Vinson[MVP]
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.