convert julian date in access

G

Guest

I would like to find a method to convert a julian date to a regular calender
date in access
 
M

Marshall Barton

JayG. said:
I would like to find a method to convert a julian date to a regular calender
date in access


How about you tell us what yout mean by Julian date and
provide a couple of examples.
 
R

Randy

JayG. said:
I would like to find a method to convert a julian date to a regular
calender
date in access

Jay, you can use any of the following calculations. Please remember that
Julian dates are only valid within a specific year.

This formula will use the current year:
Cdate(dateserial(year(now()),1,1) + [Julian Date] - 1)

This other formula will use a given specific year:
Cdate(dateserial([Year],1,1) + [Julian Date] - 1)

-Randy
 
J

John Vinson

I would like to find a method to convert a julian date to a regular calender
date in access

The term "Julian date" is ambiguous. DO you mean the Astronomical
Julian Date, the Modified Astronomical Julian Date, the military date
code based on the last digit of the year plus the day number, yyyyddd,
yyddd, ...?

All of these can be converted but they will require different logic.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top