if - date help
Posted: Sat Nov 04, 2006 9:03 pm
First off Hi all!
I am trying to determine a date via a date from PayPal IPN.
I am updating a clubs site that shows a member list, in that member list each member will have a date that there membership expires. For simplicity reasons ALL members memberships expire 1/1/xx But... The year will depend on when they register, if they register in the first 2/3 of the year there membership will expire that year. But if they register in the last 1/3 of the year they will gut the rest of the year and all of next year.
For instance any membership received 1/106 through 9/30/06 will expire on 1/1/07
But any membership received 10/1/06 through 12/31/06 will expire on 1/1/08
My head is spinning on this one...
I am trying to determine a date via a date from PayPal IPN.
I am updating a clubs site that shows a member list, in that member list each member will have a date that there membership expires. For simplicity reasons ALL members memberships expire 1/1/xx But... The year will depend on when they register, if they register in the first 2/3 of the year there membership will expire that year. But if they register in the last 1/3 of the year they will gut the rest of the year and all of next year.
For instance any membership received 1/106 through 9/30/06 will expire on 1/1/07
But any membership received 10/1/06 through 12/31/06 will expire on 1/1/08
My head is spinning on this one...