Timer for all tabs

hi i want create timer count the second when i click the button , not delay only count the seconds