$ printf "%(%D)T\n" "first wednesday may 2008" 05/07/08 $ printf "%(%D)T\n" "$(printf "%(%D)T\n" "first wednesday may 2008") + 1 day" 05/08/08 $