Skip to content

Instantly share code, notes, and snippets.

@fabienhinault
Created January 25, 2018 14:34
Show Gist options
  • Save fabienhinault/8ab6a042fa0d3e821d5608dc1c3b9539 to your computer and use it in GitHub Desktop.
Save fabienhinault/8ab6a042fa0d3e821d5608dc1c3b9539 to your computer and use it in GitHub Desktop.
#!/bin/bash
printf '%s000\n' $(date -d "$*" "+%s")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment