Added getTime

Check docs