

function dump_time(t)
	printf(t:dateToString(game.CTime.DateToDay))
	printf(t:timeToString(game.CTime.TimeToMilisecs))
	printf("")
end


function main()
	local aabb = 453+768
	
	local dt = game.get_game_time()
	dump_time(dt)
	
	local dt2 = game.CTime()
	dt2:setHMS(2,3,4)
	dump_time(dt2)
	
	local s3  = dt:diffSec(dt2)
	printf("---difference dt-dt2= %f",s3)

end
