I would like to design a power supply with an input of 12-230VAC/DC and an output of 12V 100mA (approx.). This design is similar to din rail time relay. Can someone help me since I can't find information from where I can start?
Step 1: Read the original post and note that there is a requirement for DC input.
Step 2: Note that a 12-230VAC/VDC t to 12VDC power supply is nothing like din rail time relay.
Again, the OP is asking for an AC/DC input. A transformer will not work.
Further, even if it were AC-only input, the 12-230 volt input range is a problem. A simple transformer/bridge will not work. There needs to be some way of dealing with the huge input range. Some kind of buck/boost regulator.