I add the length of the subscription in seconds to the current time:
Code: Select all
$subscription_length = $years * 31557600; // seconds in a year
$date = time()+$subscription_length;
$result = $feuser->SetUserProperty('exipires',$date)
What is a clean method of changing the user expiration date for subscription accounts? Anybody?