Group by time function at time change


i have a question about querying data at time change.

When my query is build of human readable time, how group by time() handle that at time change ?

So will i lose once one hour and once i get one more hour back ?