Use last modified date rather than current time to check for partial month