Author Topic: PHP for Solstices and Equinoxes  (Read 5122 times)

0 Members and 1 Guest are viewing this topic.

Offline anchorageweather

  • Forecaster
  • *****
  • Posts: 445
    • http://eetee.us/station/station.php
PHP for Solstices and Equinoxes
« on: November 07, 2007, 02:05:30 PM »
I fear that this is question is slightly off topic; however, perhaps I can beg some indulgence.  I currently have some php scripting on my site:

http://www.eetee.us/station/station.php

that shows the moon phase and an image as well.  I would also like to add additional info about Solstices and Equinoxes - something like:

"86.35 days until the Spring Equinox", etc.

Does anyone know a place where this type of php script can be found?  I've come up empty?!?  Thanks for any help.
« Last Edit: November 07, 2007, 02:22:42 PM by anchorageweather »
South of the Tracks, Anchorage, KY

Offline aadamson

  • Member
  • *
  • Posts: 14
    • N1IP's Live Weather
Re: PHP for Solstices and Equinoxes
« Reply #1 on: November 07, 2007, 03:39:05 PM »
Borrow some javascript or translate it to php here... http://stellafane.org/misc/equinox.html

I just googled for "solestic equinox calculate" and found the above as the top link, if you view the source, the javascript is in the html.

Alan

Offline anchorageweather

  • Forecaster
  • *****
  • Posts: 445
    • http://eetee.us/station/station.php
Re: PHP for Solstices and Equinoxes
« Reply #2 on: November 07, 2007, 08:52:32 PM »
Borrow some javascript or translate it to php here... http://stellafane.org/misc/equinox.html

I just googled for "solestic equinox calculate" and found the above as the top link, if you view the source, the javascript is in the html.

Alan

Yes, I found that one too; however, its quite a bit out of my league.  :oops:
South of the Tracks, Anchorage, KY

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: PHP for Solstices and Equinoxes
« Reply #3 on: November 07, 2007, 09:57:04 PM »
I'll give it a whack at PHP conversion.. I'm fairly JavaScript/PHP bilingual  :grin:
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline anchorageweather

  • Forecaster
  • *****
  • Posts: 445
    • http://eetee.us/station/station.php
Re: PHP for Solstices and Equinoxes
« Reply #4 on: November 08, 2007, 06:22:40 AM »
I'll give it a whack at PHP conversion.. I'm fairly JavaScript/PHP bilingual  :grin:

Ken - you 'da man!!!!    :grin: :shock: \:D/ =D>
South of the Tracks, Anchorage, KY

Offline anchorageweather

  • Forecaster
  • *****
  • Posts: 445
    • http://eetee.us/station/station.php
Re: PHP for Solstices and Equinoxes
« Reply #5 on: January 13, 2008, 12:29:36 AM »
I'll give it a whack at PHP conversion.. I'm fairly JavaScript/PHP bilingual  :grin:

I was able to obtain this script and add it to my site.  Thanks for all who tried to help  =D>
South of the Tracks, Anchorage, KY