startTime and endTime can be translated from unixtime