不清楚你说的这两个介词是用来指时间还是地点或者其他,这里只能猜测着答复你,
当用来表示时间时:
in 表示比较大的时间区间比如:in the daytime/in the evening/in the morning/in the 21st century
on通常表示固定的日子,节日或者具体某一天或者某一天的上午,下午和晚上,例如:on May 1st/
on Christmas/ on the morning of April 1st/ on a cold evening...
当用来表示地点时:
in强调在某一范围内或者空间内,有时可以与on换用;on强调在某一平面上,有接触的概念,有时有接壤的关系,比如:in the hospital/in the street/on the street/in the playground/on the playground/ in the bag/ on the desk/ in the south of China/ on the west of China.