This can be easily achieved by doing the math yourself. Something like:
months = (now.year() - joiningDate.year()) * 12 > months += now.month() - joiningDate.month() Wkr, On Mon, Feb 14, 2011 at 18:46, alhad deshpande <[email protected]>wrote: > i have a date of joining of an employee and i want to know till current > date how many MONTHS he/she has worked in the company.. > > Can someone plz guide me how can i convert days to MONTHS for above > requirement.. > > Thanx > ad3d > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Nick Gaens
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
