Multi-granulariy Time-based Transformer for Knowledge Tracing