Is magnesium the new melatonin?

Is magnesium the new melatonin?