added timer callback and datetime status functions