using boost local time to extract time stamps