It doesn't quite work that way. What you do is to gift some of your own membership time to another person. Thus, if you don't have enough membership time you need to extend your own membership first.
To transfer time to someone else, go to the Membership page and use the Transfer membership time tab.