Although you should feed you hamster primarily with store-bought hamster food, hamsters can enjoy a wide variety of foods. However, it is important to ensure you keep your hamster both happy and healthy by giving it a balanced diet and avoiding any foods that may be harmful.
You should provide your hamster with new food once a day, and this is best done in the evening as this is around the time it wakes. In the wild, this is when hamsters start looking for food, which they then store to eat the following day. So expect your hamster to store some of its food for later.