Re: DAY Number in an Year
- From: Herman D. Knoble <SkipKnobleLESS@xxxxxxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 07:52:13 -0400
See the date routines and sample driver at:
http://ftp.cac.psu.edu/pub/ger/fortran/hdk/datesub.f90
These were published in CACM back in 1972:-)
(or Fortran 77 at:
http://ftp.cac.psu.edu/pub/ger/fortran/hdk/datesub.for )
Skip Knoble
On 28 Sep 2005 18:29:10 -0700, prasad413in@xxxxxxxxx wrote:
-|Hello,
-| I am a Newbie to Fortran. I need to write a simple routine in which
-|current year and day Number in an Year, like today is 272nd day in this
-|year are known. I need to write routine such that count starts from
-|which starts from 336th day in 2004 and it goes on.
-|I tried like
-|
-|
-|YEAR = 2004
-|C Condition should be like it should return the Current Year...
-|
-| IF(DAY_NO .GT. 365) THEN CURRENT_YEAR = YEAR+1 ??????????
-|It should be a real time run..
-|
-|Thanks
.
- References:
- DAY Number in an Year
- From: prasad413in
- DAY Number in an Year
- Prev by Date: Re: Does this string processing work for you?
- Next by Date: Re: NEWBIE QUESTION
- Previous by thread: Re: DAY Number in an Year
- Next by thread: Re: DAY Number in an Year
- Index(es):
Relevant Pages
|