Your browser does not support the HTML5 canvas tag.
Period of oscillation T = 2π l
g
where l = length of string.