Set stoptime with last timestamp instead of last day