I am trying to develop a 120 second countdown for a 2 min bar. if I use getMinute, I get the current minute displayed as text, but when I use getSecond, all I ever get is "0." I want to see the second tick up. I will then develop code to subtract that from 120, etc. Or is there already such code somewhere?
vCurSecond = getSecond(0);
drawTextAbsolute(-8, 120, " Current BAR Second " + vCurSecond + " ", Color.RGB(255,255,0), Color.blue, Text.RIGHT | Text.RELATIVETOTOP | Text.RELATIVETORIGHT | Text.BOLD, null, 15, "SECOND" );
vCurSecond = getSecond(0);
drawTextAbsolute(-8, 120, " Current BAR Second " + vCurSecond + " ", Color.RGB(255,255,0), Color.blue, Text.RIGHT | Text.RELATIVETOTOP | Text.RELATIVETORIGHT | Text.BOLD, null, 15, "SECOND" );
Comment