You can send in milliseconds the hours quantity and it will generate the start and end time adding those values to the current time.