All times in the framework - such as the openTime of an order or the ts of a candle - are UTC. The framework provides a variety of functions for helping with time conversion.
Note: all the parameters and return values for the framework's date functions are numbers (of milliseconds), not Javascript Date objects.