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