ethers.js Obtener tiempo

const blockNumber = await ethers.provider.getBlockNumber();
const {timestamp} = await ethers.provider.getBlock(blockNumber)
Talented Tapir