If you are using that schematic as it is but with 230V at the input I would build yourself a blast shelter before switching on! The principle for the zero crossing can be used though but you must realize that it provides no AC isolation so all parts of it would be dangerous to touch and you couldn't connect it to any other equipment. A better system is to use an isolated signal using an opto-coupler. I'm working on a project at the moment that uses this kind of circuit so I've copied a section of the schematic for you. The connections on the left are 230V AC in, the resistors on the left are both 47K, the diodes are 1N4148, the opto-coupler is a 6N139. The connection at the top is 5V from a PIC supply rail and the pull-up resistor is 22K. Tou can leave the capacitor out for your application. Choose 47K resistors rated at 250V or more, some small resistors are not rated for high voltage use.
This will give you a far more accurate timing pulse than your schematic and it provides a safety isolation to several KV as well. the output will go high at each zero crossing.
Brian.