Add Table Sync functions.
Modified timesec in local db to SECONDS from 1970.