Skip to content

Instantly share code, notes, and snippets.

@rogersguedes
Created June 9, 2016 02:55
Show Gist options
  • Select an option

  • Save rogersguedes/76c1706c92213c6515348423418f6180 to your computer and use it in GitHub Desktop.

Select an option

Save rogersguedes/76c1706c92213c6515348423418f6180 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
let dlStart="$(date +%s)"
# do something
let dlEnd="$(date +%s)"
let diffe="$dlEnd-$dlStart"
echo $diffe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment