convert time to new agenda