Updated to store date in database.
Merge remote-tracking branch 'origin/master'