If it were Sunday, B would not make the statement he did.

Therefore it is not Sunday, and A is lying.

Therefore B is telling the truth, and it is Tuesday.

That means A is Tweedledum and B is Tweedledee.