Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Shortest day of year

6 views
Skip to first unread message

matt...@btinternet.com

unread,
May 25, 2004, 8:42:20 PM5/25/04
to
Hi all

Does anyone know where I can find any source code to work out the shortest
day of the year and longest day there are many star charting programs about
but not one just for the sun and not in source code as I would like

Feel Free to Email me

Thanks in advance

Matt


Veign

unread,
May 25, 2004, 9:24:34 PM5/25/04
to
What do you mean workout the shortest day? - Maybe I am missing something

Shortest Day of the year:
about 21 December for the northern hemisphere,
about 21 June for the southern hemisphere.

--
Chris Hanscom
MVP (Visual Basic)
http://www.veign.com
--

"Matt...@btinternet.com" <matt...@btinternet.com> wrote in message
news:c90p5c$5rv$1...@hercules.btinternet.com...

Duane Bozarth

unread,
May 25, 2004, 9:31:20 PM5/25/04
to
"Matt...@btinternet.com" wrote:
>
> Hi all
>
> Does anyone know where I can find any source code to work out the shortest
> day of the year and longest day there are many star charting programs about
> but not one just for the sun and not in source code as I would like

Google is your friend..."sunrise sunset algorithm source VB" let to...

http://www.scottandmichelle.net/scott/code/code-031.html

First entry amongst a bunch of others--claims implements a NOAA
Java-based applet w/VB source and references to where it came from...

Anything else? :)

Duane Bozarth

unread,
May 25, 2004, 9:44:48 PM5/25/04
to
Veign wrote:
>
> What do you mean workout the shortest day? - Maybe I am missing something
>
> Shortest Day of the year:
> about 21 December for the northern hemisphere,
> about 21 June for the southern hemisphere.

I think it's about the "about" in there--it isn't always 12/21
precisely.

matt...@btinternet.com

unread,
May 25, 2004, 10:56:48 PM5/25/04
to
> Anything else? :)

The Program Was Written for USA
I will have to find my longitude and latitude and another variable for where
I live
England > London

Thanks any way really good of you to point it out for me.

It took ages for your mail to reach my news server look forward to hearing
from you in the tomorrow afternoon..

Matt

"Duane Bozarth" <dp_bo...@swko.dot.net> wrote in message
news:40B3F368...@swko.dot.net...

matt...@btinternet.com

unread,
May 25, 2004, 11:24:38 PM5/25/04
to
Dear Duane Bozarth
Sorry my apology's it does work for England I got it working and learnt
something about class modules
much thanks again
best regards matt

news:c9111g$2aq$1...@titan.btinternet.com...

Jacquelin Hardy

unread,
May 26, 2004, 5:36:19 PM5/26/04
to
Matt, the shortest and the longest day of the year are the solstice days of
summer, and winter. Always same days, year after year. No formulae is needed
for that. But if you want to know what date is the earliest sunrise, or
latest sunset, this is another question. Have a look at:

http://www.analemma.com


Jacquelin Hardy

news:c90p5c$5rv$1...@hercules.btinternet.com...

Ken Halter

unread,
May 26, 2004, 5:55:01 PM5/26/04
to
Jacquelin Hardy wrote:
> Matt, the shortest and the longest day of the year are the solstice days of
> summer, and winter. Always same days, year after year. No formulae is needed
> for that. But if you want to know what date is the earliest sunrise, or
> latest sunset, this is another question. Have a look at:
>
> http://www.analemma.com
>
>
> Jacquelin Hardy

I'm always a trouble maker <g>.... the shortest/longest days if you live
in an area that recognizes daylight savings are:

Shortest = Day after turning the clock ahead 1 hour (day is 23 hours)
Longest = Day after turning the clock back one hour (day is 25 hours)

Yeah... I know....


--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..

Bob O`Bob

unread,
May 26, 2004, 6:43:26 PM5/26/04
to
Jacquelin Hardy wrote:
>
> Matt, the shortest and the longest day of the year are the solstice days of
> summer, and winter. Always same days, year after year.

Close, but wrong.

for years 1992-2020:

June 20: 2008, 2012, 2016, 2020
June 21 Otherwise

Dec 22: 1994, 1995, 1998, 1999,
2002, 2003, 2006, 2007,
2011, 2015, 2019
Dec 21 Otherwise


source <http://aa.usno.navy.mil/data/docs/EarthSeasons.html>

Bob

U-CDK_CHARLES\Charles

unread,
May 27, 2004, 10:27:14 AM5/27/04
to
On Wed, 26 May 2004 17:36:19 -0400, Jacquelin Hardy
<jach...@removethisvideotron.ca> wrote:
> Matt, the shortest and the longest day of the year are the solstice days of
> summer, and winter. Always same days, year after year. No formulae is needed
> for that. But if you want to know what date is the earliest sunrise, or
> latest sunset, this is another question. Have a look at:
>
> http://www.analemma.com
>

It varies because our calender doesn't quite match the Earth's orbit.
Otherwise, we'd not need leap years.

DAGS on astronomical calculations.

Duane Bozarth

unread,
May 28, 2004, 9:14:22 PM5/28/04
to
U-CDK_CHARLES\\Charles wrote:
>
> ... our calender doesn't quite match the Earth's orbit.

I always thought it was that the orbit didn't match our calendars... :)

Bob O`Bob

unread,
May 28, 2004, 9:27:44 PM5/28/04
to


Which came first?


Bob
--

Duane Bozarth

unread,
May 28, 2004, 9:36:05 PM5/28/04
to
The egg...

Larry Serflaten

unread,
May 28, 2004, 11:24:45 PM5/28/04
to

"Duane Bozarth" <dp_bo...@swko.dot.net> wrote
> >
> > Which came first?
>
> The egg...

... or the face?


<g>

Wes Spikes

unread,
May 28, 2004, 11:38:42 PM5/28/04
to
Lets end this old question of "Which came first, the chicken or the egg?".
First, let me make note that the question only poses "the egg", not "the egg
of the chicken" (or something like that). Now, I'm an evoloutionist...so for
me the chicken evolved from other species. In which case, the other species
also had eggs before the chicken evolved from whatever it's precessor was.
Hope you all have a good day.

-Wes

"Larry Serflaten" <serf...@usinternet.com> wrote in message
news:#XFFZwSR...@TK2MSFTNGP12.phx.gbl...

Bob O`Bob

unread,
May 28, 2004, 11:55:52 PM5/28/04
to
Wes Spikes wrote:
>
> Lets end this old question of "Which came first, the chicken or the egg?".
> First, let me make note that the question only poses "the egg", not "the egg
> of the chicken" (or something like that). Now, I'm an evoloutionist...so for
> me the chicken evolved from other species. In which case, the other species
> also had eggs before the chicken evolved from whatever it's precessor was.
> Hope you all have a good day.


It goes even a little deeper than that.
The first chicken hatched from an egg that was laid by some animal which
for convenience's sake we'll call not-quite-exactly-a-chicken, or NQEAK.
But even though an NQEAK laid that egg, a chicken hatched from it, so it
was a *chicken egg*.

Bob

J French

unread,
May 29, 2004, 1:12:35 AM5/29/04
to

Possibly,
but imagine a human foetus grown in a glass flask
(eg: Brave New World)
Is the flask then a 'human flask' ?

Consider also if NQEAKs lay eggs that are bright green and spiked like
a porcupine ...

Steve Garman

unread,
May 29, 2004, 3:30:48 AM5/29/04
to
J French wrote:

This would probably explain why NQUEAKs became extinct.

J French

unread,
May 29, 2004, 6:43:01 AM5/29/04
to
On Sat, 29 May 2004 08:30:48 +0100, Steve Garman
<ne...@garman.demon.co.uk> wrote:

<snip>

>>
>> Consider also if NQEAKs lay eggs that are bright green and spiked like
>> a porcupine ...
>
>This would probably explain why NQUEAKs became extinct.

No, IIRC they all got SARS (chicken flu)

Wes Spikes

unread,
May 29, 2004, 1:05:44 PM5/29/04
to
LMFAO...god...Either way, it seems we all agree that the egg came frist!

-Wes

"J French" <ere...@nowhere.com> wrote in message
news:40b86896...@news.btclick.com...

Johns@spamocs.net Tom Johns

unread,
May 29, 2004, 1:46:35 PM5/29/04
to
I disagree. Bearing in mind the truth is often spoken in jest haven't you
heard the tale from the divinely inspired ancient book of humour:
A chicken and an egg are lying in bed. The chicken is leaning against the
headboard smoking a cigarette with a satisfied smile on its face. The egg,
looking a bit pissed off, grabs the sheet, rolls over and says;

"Well, I guess we finally answered THAT question."

"Wes Spikes" <Morn...@NOSPAMverizon.net> wrote in message
news:Ip3uc.6248$g15....@nwrddc02.gnilink.net...

Wes Spikes

unread,
May 29, 2004, 2:22:33 PM5/29/04
to
Yup...i've seen it before!

-Wes

"Tom Johns" <Tom Jo...@SPAMocs.net> wrote in message
news:9%3uc.296$5z1.174@newsfe6-win...

0 new messages