Normally, and when the basic can replace each other, do not have too big difference, just like your example, is very correct.
If only to say the time, we usually use "点" rather than "时", for example, “一点”“两点”(one o 'clock, two o 'clock) but not “一时”“两时”
if you want to calculate the time, we often said"一小时"“两小时”(one hour,two hours ) rather than "一时" "二时".
my english is not good,I hope it can help you