Newbies uruludu Posted September 8, 2002 Newbies Posted September 8, 2002 Can anyone answer either of the following: 1. How would I craft a Calculation that returns every Thursday date? 2. How about a Calculation that returns a sunrise/sunset times associated with that particular date? Or would I have to manually construct 365 records?
BobWeaver Posted September 9, 2002 Posted September 9, 2002 This formula will find the dates of the Thurday for the given year and week: Date(1, 1, Year)+5-DayofWeek(Date(1, 1, Year)) + 7*(WeekNumber-1) For sunrise and sunset times see the following: http://www.moonstick.com/sunriseset.htm
rdhaden Posted September 9, 2002 Posted September 9, 2002 This guy will sell you step-by-step instructions on how to calculate sunrise/sunset with longitude, latitude, and date. http://www.weatherimages.org/latlonsuncontact.html
rdhaden Posted September 12, 2002 Posted September 12, 2002 Having some free time on my hands, I thought I'd try to adapt sunrise/sunset calculations I found on the web to Filemaker. I had a problem, though, because while there is an atan function, there's no asin function. Trig was never my strong suit, so I don't know if there's a way to manually get asin.
BobWeaver Posted September 13, 2002 Posted September 13, 2002 I started to do the same thing, but haven't had time to get it finished because I had to get back to another job. Anyway here is a formula for asin: asin(x) = atan(sin(x)/sqrt(1-(sin(x)*sin(x))))
Recommended Posts
This topic is 8178 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now