We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct approach!!! Math.round(new Date(campaign.deadline) / 1000)
Math.round(new Date(campaign.deadline) / 1000)
new Date(campaign.deadline).getTime()There will be 3 more zeros!!!
new Date(campaign.deadline).getTime()
The text was updated successfully, but these errors were encountered:
const moonLanding = new Date('2024-01-12');
// Milliseconds since Jan 1, 1970, 00:00:00.000 GMT console.log(moonLanding.getTime()); // output: 1705017600000
Sorry, something went wrong.
block.timestamp (uint): The timestamp of the current block, in seconds since Unix epoch
No branches or pull requests
Correct approach!!!
Math.round(new Date(campaign.deadline) / 1000)
new Date(campaign.deadline).getTime()
There will be 3 more zeros!!!The text was updated successfully, but these errors were encountered: