If you have a Date, is there a reasonably simple way to extract which fraction of the year it is? For example a date of 12:00 am on January 1st would return zero and 11:49 pm on December 31st would return one. The stuff I'm trying now using the Month and Day functions seems...wrong. If there's no obvious way to do this I'll keep hacking at it.
-- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user