I am assuming time and ID are variables with the numbers you need.
At the moment, the command is not recognosing the variables, as the quotes around them tell the compiler to treat it as a string. If you want it to use the variables, you need to split your string up, like so:
Command('/tempmute ' +inttostr(time) +' ' +inttostr(ID));
The + when used with strings allows you to join them together, and inttostr() treats the intigers as strings, so they can be used with the +. Also, if you are wondering what the +' ' is for, it puts a space between the time and ID, otherwise the command /tempmute 12 2 would come out as /tempmute 122, which wouldn't work.