Replaced TIME_TO_SEC with UNIX_TIMESTAMP to go around midnight properly.
Replaced TIME_TO_SEC with UNIX_TIMESTAMP to go around midnight properly.


Autoconverted from SVN (revision:2387)

artefactual/archivematica-history,artefactual/archivematica-history,artefactual/archivematica-history,artefactual/archivematica-history