After my son 4 years old, we don't let him to wear diaper at night time. At the begining, we wake him up to go to toilet at midnight one time (about 4-6 am). Gradually, we don't wake him up and he don't need to go to toilet until wake up in the morning.
This is the method that we make the kid to get rid of diaper at night time.