Always when asking and giving the time the verb to be used is ser. More details regarding time and date please have a look at chapter 18.