tension in the cord is made up of weight mg, and centripetalforce directed outward. Add those as vectors to get tension.

Period=2PIsqrt(l/g)