How to calculate closing price of stock in bse

What formulas are used to calculate the closing price on BSE ?

The closing price on BSE is the weighted average price of all trades in the last 30 minutes of trading. It is published by the exchange after market close. You can find it on the BSE website or financial news platforms.