All,
This is proving tricky! I've got a date - say 21/07/2006.
What I want is to be able to return 31/07/2007 - i.e. whatever the date go to the end of the month and then add one year on to that value. Adding the year on is easy (even for me) but getting to the end of the month...
Some more examples:
23/06/2006 should return 30/06/2007
01/01/2001 should return 31/01/2002
30/10/2003 should return 31/10/2004
Any ideas much appreciated!
This is proving tricky! I've got a date - say 21/07/2006.
What I want is to be able to return 31/07/2007 - i.e. whatever the date go to the end of the month and then add one year on to that value. Adding the year on is easy (even for me) but getting to the end of the month...
Some more examples:
23/06/2006 should return 30/06/2007
01/01/2001 should return 31/01/2002
30/10/2003 should return 31/10/2004
Any ideas much appreciated!
