Date to Unix Timestamp

Contracts and block timestamps speak Unix seconds, so a human date must be converted before use. This tool turns a calendar date into a Unix timestamp for deadlines and queries. It runs entirely in your browser with no network call.

完全在浏览器中运行。无需 API 密钥,数据不离开本页面。

Dates as Unix seconds

This converter turns a chosen date and time into the number of whole seconds since 1970-01-01 UTC. That is the exact format EVM blocks use in the timestamp field and that contracts compare against block.timestamp for vesting schedules, auction ends and time locks.

Setting on-chain deadlines

When you configure a deadline parameter for a swap, a permit signature, or a vesting cliff, it must be Unix seconds. Convert your target date here to get the precise integer the contract expects.

常见问题

Is the input treated as UTC?

Unix time is UTC-based. Provide your date in UTC so the resulting timestamp matches on-chain time exactly.

Does this call a server?

No. The conversion is entirely local to your browser with no network request and no API key.

相关工具

充值、拿密钥、上线。

自助开通。支持加密货币或银行卡。按额度计费——重型原语更贵,简单调用很便宜。

获取 API 密钥