set {teraz} to subtext of "%now%" between 8 and 17 set {teraz} to "%{teraz}%" parsed as timespan subtract a day from {teraz}