I can fetch the price of a stock using this:
=INDEX(GOOGLEFINANCE("GOOG","price","12/13/2020"),2,2)
However how to I query price at a particular date and time. I am open to use anything: GOOGLE, EXCEL etc. etc. I am looking at NSE and BSE exchange.
GOOGLEFINANCE
, and other free sites (e.g Yahoo, etc.) only presents daily data (e.g. Open, High, Low, Close) so it is not an option.
Specific/Timely stock prices as far as I know are not free and you will have to buy that information.
Quoting from this page,
Commercial Historical Data
Higher resolution and more complete datasets are generally not available for free.
Unless you can provide a site that shows that data, include the site on your post and I'll provide you a formula/script to fetch/scrape that data.