convert binary timestamps