How to convert 2007-001 this year and day to a normal date?

  • Thread starter Julian Date Conversion
  • Start date
J

Julian Date Conversion

I want find out how to convert a julain to a normal date format:
for example:-

Julian date is : 2007001 convert to "01 Jan 2007"

Regards,
 
J

John Spencer

You should be able to use the DateSerial function.

DateSerial(Left([Julian],4),1,Right([Julian],3))

IF Julian is a number field then
DateSerial([Julian]\1000,1,[Julian] Mod 1000)

You should check that Julian is a numeric value before trying this

--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 

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