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 wrote:
> i have a date of joining of an employee and i want to know till c
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 listPyQt@ri