getting unity's UI text as a string.

I have a text component in canvas, which is being fed by a time counter.

I made another script which can modify it’s content, however I can’t read it to send to a highscore table.

I’m trying:

#pragma strict
var collectSound: AudioClip;
var timeCounter: UnityEngine.UI.Text;
.
.
.
function sendScore{
    var timeHs = timeCounter.text;
    print ("the value is" + timeHS);
 // some more stuff to send high score
 }

How do I get the string / value as string contained in the text component?

timeCounter.text.ToString();