Earth's dark and bright side material

Is there any way to create a parameter controlled dark and bright side material. One material that can be controlled so the bright side rotates around the sphere? Something like below:


Jep. There are some tutorials out there. Klick me.

Holy smokes!!! That is exactly what I was looking for! Thank you so much!!!