You also need to calc the date component according to the @itime, not your local time.