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.
Runs entirely in your browser. No API key, no data leaves this page.
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.
Frequently asked
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.
Related tools
Top up, get a key, ship.
Self-serve. Pay in crypto or card. Metered by credits — heavy primitives cost more, simple ones are cheap.
Get API key