How(in wordpress multisite) can i get id of users, who signed up 30 days ago, or more? I am building free trial system for 30 days. I want to have a function, that check when user signed up, and how many days have passed. The function should return number of days that passed.
It's easy to get user signed up time:
global $current_user; get_currentuserinfo(); echo $current_user->user_registered;
Now, how to check how many days passed from above time?