Generalized randomized block design code

#1
I am stuck in the analysis of a generalized randomized block design?
I have two blocks (random) and two treatments (fixed) each with 3 reps at each block.
I study the treatments through time so i want to include the time parameter and its interaction with the treatment.

Could anyone help me with the code for this analysis?

Thanks in advance!