**Is there a way to know the date of a transaction by looking at the raw blockchain data?**

I know that Etherscan and other blockchain explorers have dates for the transactions, but I couldn't find a way to do it via web3.

[web3.eth.getTransaction](https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethgettransaction), and other transaction related [APIs](https://github.com/ethereum/wiki/wiki/JavaScript-API)
don't seem to be exposing any Date objects.