Invoke remaining time display on GUIText

How can I detect remaining time of an Invoke to display on GUIText?

You can’t read the remaining time, but you can calculate it, like this:

var gText: GUIText; // drag the GUIText here from Hierarchy
var timeToInvoke: float = 5.0; // time to invoke the function
private var remTime: float;

Invoke("SomeFunction", timeToInvoke);
remTime = timeToInvoke; // start the timer when Invoke is called

function Update(){
    if (remTime >= 0){ // only count time while it has not finished
        remTime -= Time.deltaTime; // decrement timer
        if (remTime >= 0){ // if timer still > 0...
            gText.text = remTime.ToString("F1"); // show it
        } else { // but if time ended...
            gText.text = ""; // display nothing
        }
    }
}