if引导的条件状语从句于when引导的时间状语从句有何共同之处?

问题描述:

if引导的条件状语从句于when引导的时间状语从句有何共同之处?
比如:if you go to my home,you'll have a great time.
when you asked him about the question,the teacher told you to stand.

都是从句为过去式.