There's never really a good time for anything, that said I think it would be best if you waited at least a little while to tell them. But don't wait too long, waiting for the right time to do something often just becomes never doing it at all.