okay,

here is a code snippet.

Code:
 ////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>

////////////////////////////////////////////////////////////////////

var update_var=0;

PANEL* first_pan =
{
	digits (10, 20, 2, *, 1, sys_seconds);
	
	digits(20, 50,4, *, 1, update_var);
	
	digits ( 70, 200, 2, *, 1, sys_hours);
   digits ( 90, 200, 2, *, 1, sys_minutes);
   digits ( 110, 200, 2, *, 1, sys_seconds);
	
	 
	flags = VISIBLE;
}

/////////////////////////////////////////////////////////////////////

function main()
{
	
	var start_base;
	video_mode = 7; 
	screen_color.blue = 150;
	
	 start_base=sys_seconds;
	
	while(1)
	{
		if (sys_seconds != start_base)
		{
			update_var+=1;
			start_base=sys_seconds;
			
			
		}
		
		wait(1);
		
	}
	
	
}



and kudos and cheers to delinkx.