I use Mint.com to do this. Once all your transactions are in there you can search for all transactions on my one card and then filter on the date. It will tell you exactly how much you have spent YTD.
Otherwise any budget tracking software should do it. Or even just a simple Excel sheet you update every month.