The icon for the calendar app doesn't update to show the current date, it shows a static 'default' July 17th.
Sorry, I don't think there is a way to get the "dynamic" icons for apps programatically (apart from screenshotting which would cause too much cpu usage).