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  

convert to julian date



 
 
Thread Tools Display Modes
  #1  
Old July 15th, 2004, 09:55 PM
holmeb
external usenet poster
 
Posts: n/a
Default convert to julian date

Does anyone know how to convert a regular calendar date, i.e. 07/15/2004, into a julian date?
  #2  
Old July 16th, 2004, 01:51 AM
MGFoster
external usenet poster
 
Posts: n/a
Default convert to julian date

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What do you mean by Julian date? Many people have varying definitions.
For me a Julian calendar starts in January 1, 4713 BCE (Before Christian
Era). This calendar was named after Julius Scaliger (astronomer) not
Julius Caesar.

See this site for the conversion formulas for the astronomical Julian
date:

http://scienceworld.wolfram.com/astr...ulianDate.html

--
MGFoster:::mgf00 at earthlink decimal-point net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQPcmvIechKqOuFEgEQKLBgCgltwsIHQaRapX2sWBDFfQCt 3Njt0An0yJ
0o1d/LgghJPd3BGnn6fS3xmN
=IsW0
-----END PGP SIGNATURE-----


holmeb wrote:

Does anyone know how to convert a regular calendar date, i.e. 07/15/2004, into a julian date?


  #3  
Old July 16th, 2004, 02:27 AM
Dale Fye
external usenet poster
 
Posts: n/a
Default convert to julian date

If what you mean is the day number of the date, assuming that 1 Jan = 1,
then the following should work if used in a query.

JulianDate = DateDiff("d", DateSerial(Year([What day?]) - 1, 12, 31), [What
day?])

What this does is calculate the number of days between the date you enter
and the 31st of December of the previous year

HTH
Dale

"holmeb" wrote in message
...
Does anyone know how to convert a regular calendar date, i.e. 07/15/2004,

into a julian date?


  #4  
Old July 16th, 2004, 02:45 AM
John Spencer (MVP)
external usenet poster
 
Posts: n/a
Default convert to julian date

One method for YYDDD is

Format(SomeDate,"YY") & Format(DatePart("y",SomeDate),"000")

If you mean something else by JULIAN Date then please specify what your format
for Julian date is.

holmeb wrote:

Does anyone know how to convert a regular calendar date, i.e. 07/15/2004, into a julian date?

  #5  
Old July 22nd, 2004, 05:02 PM
bonnie
external usenet poster
 
Posts: n/a
Default convert to julian date

Thanks. It works.
--
bonnie


"John Spencer (MVP)" wrote:

One method for YYDDD is

Format(SomeDate,"YY") & Format(DatePart("y",SomeDate),"000")

If you mean something else by JULIAN Date then please specify what your format
for Julian date is.

holmeb wrote:

Does anyone know how to convert a regular calendar date, i.e. 07/15/2004, into a julian date?


 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aggregating Date Data into Weeks and Quarters Roger Running & Setting Up Queries 3 July 11th, 2004 05:56 PM
convert julian date to calendar date in excel charlymon General Discussion 2 July 8th, 2004 04:32 AM
Date 1904 - How to convert to Date 1900? Alex St-Pierre Setting up and Configuration 1 May 4th, 2004 01:25 AM
Julian Date to Calendar Date lfletche Worksheet Functions 4 February 27th, 2004 01:30 AM
Does date fall between two ranges? MR Worksheet Functions 4 January 14th, 2004 04:08 PM


All times are GMT +1. The time now is 04:24 PM.


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