Hi @josephlau2001 ,
Welcome to the community!
Could you please share what you have tried so far, so it might be easier to make suggestions? Here is the example where non-business hours are excluded, but it could very well be that your timeseries are irregular and it might be easier to resample it (see this post for example).