Try this:

Code:
alias timeuntil {
  var %date = $iif($ctime($date $1) > $ctime,$date,$date($calc($ctime + 86400)))
  return $duration($calc($ctime(%date $1) - $ctime),2) 
}

alias test { echo -a $timeuntil($1) }


/test 18:00