Skip to content

Instantly share code, notes, and snippets.

@nekomeowww
Created November 26, 2021 02:23
Show Gist options
  • Save nekomeowww/b2af7d96b85f704ec2c448decc0974f1 to your computer and use it in GitHub Desktop.
Save nekomeowww/b2af7d96b85f704ec2c448decc0974f1 to your computer and use it in GitHub Desktop.
MongoDB millisecond UNIX timestamp
((new Date().getTime()/1000)-(new Date().getTime()/1000%1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment