Hi Eric, something to add to your currently blank function in your class:
FUNCTION IsLeapYear (iYear) RETURN NOT EMPTY(DATE(iYear,2,29)) wOOdy -----Ursprüngliche Nachricht----- Von: ProFox <profox-boun...@leafe.com> Im Auftrag von Eric Selje Gesendet: Dienstag, 15. Mai 2018 22:20 An: ProFox Email List <profox@leafe.com> Betreff: Re: Fun with date calculations in VFP I've started a class for a C# like DateTime static class here: https://github.com/eselje/FoxTypes/blob/master/FT_DATETIME.md _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/003c01d3ece1$0bb64e10$2322ea30$@wondzinski.de ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.