title: Create sequence of dates in format yyyymmddHHMM with 12 hour increment in bash
body: <p><strong>Tl;dr</strong>: Is there a nice way of creating a sequence of dates with 12 hour increment in the format yyyymmddHHMM in the bash?</p>
  
  <p>Consider I have a python-script which accepts a certain time (yyyymmddHHMM) as input -t, i could run it like this for instance</p>
  
  <pre><code>python myscript.py -t 201411140000
  </code></pre>
  
  <p>which the then starts <code>myscript.py</code>for the date 2014-11-14 00:00. Now I want to run the script for many dates, beginning from 2014-01-01 00:00 to 2014-11-14 00:00 with an increment of 12 hours, i.e. i want to produce all the following lines:</p>
  
  <pre><code>python myscript.py -t 201401010000
  python myscript.py -t 201401011200
  python myscript.py -t 201401020000
  .
  .
  .
  python myscript.py -t 201411131200
  python myscript.py -t 201411140000
  </code></pre>
  
  <p>The closest to what I came is (echo to verify results without running them):</p>
  
  <pre><code>for mm in {01..10}; do for dd in {01..31}; do for HH in 00 12; do echo python myscript.py -t 2014$mm$dd$HH\00; done; done; done
  </code></pre>
  
  <p>It produces all required dates from Jan to Oct, but also some <strong>absurd dates</strong>, such as <strong>201402310000</strong>, which the program then has to handle (i.e. throw/log errors). That is not a huge issue, but it feels dirty.
  In the end, another loop is required to handle the missing dates Nov-01 to Nov-14, which, again, seems dirty to me.</p>
  
  <p>How can I create those dates more nicely - or is the way above the appropriate way of doing so?</p>