This is a function which I find usefull when I need two timestamps corresponding to the First and Last days of a specified month. Especially usefull when you have dates stored
in a database (as timestamps) and you need to SELECT all records BETWEEN two dates.
This code will give you the sunrise and sunset times for any latutude and longitude in the world. You just need to supply the latitude, longitude and difference from GMT.
The purpose of this script is to be able to return the time span between any two specific moments in time AFTER the Unix Epoch (January 1 1970) in a human-readable format. You
could, for example, determine your age, how long you have been married, or the last time you... you know. ;) The class, "timespan", will produce variables within the class
respectively titled years, months, weeks, days, hours, minutes, seconds.
A Set of Functions that allow you to figure out what week a certain day of the month falls on. So if a date is on the 1st week of the month, 2nd week, etc.