Bug fix for upgrades this month

- Mixing mysql and php date formats!