Wash the sweet pumpkin thoroughly, remove the skin, and cut into suitable pieces.
Place the sweet pumpkin in a steamer and steam for 15 minutes until cooked.
Transfer the cooked sweet pumpkin to a bowl and mash while hot.
Add sugar and milk to the mashed sweet pumpkin and mix well.
Heat butter in a pan, add the pumpkin mixture, and stir gently over low heat until thickened.
Place the finished Dan Sher in a bowl and let it cool before serving.