Fixed online database error

Date now stored in a way that doesn't cause a crash with the online
version.