title: Bash: How to pass a variable to a command
body: <p>I need to substract 10 minutes from a given time.</p>
  
  <p>As I understand from previous answers, there are solutions <strong>only</strong> for given constant input, for example:</p>
  
  <pre><code>date --date '20140202 11:45:30 UTC -10 min'
  </code></pre>
  
  <p>But in my script, a given date is read from file and I have it as argument, for example:</p>
  
  <pre><code>myDate="20140202 11:45:30"
  </code></pre>
  
  <p>How can I pass this argument <code>(myDate)</code>to the command above?</p>