calculate scheduled time on given time not time.Now()