Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="container clearfix">
  <div class="time-block">
      <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="600px" height="100px" viewBox="0 0 600 600" enable-background="new 0 0 600 600" xml:space="preserve">
        <g>
          <path d="M392.354,544.49h-23.019V188.048c0-0.033-0.009-0.064-0.01-0.098c-0.005-0.171-0.023-0.342-0.051-0.511   c-0.01-0.055-0.018-0.11-0.029-0.166c-0.043-0.196-0.103-0.389-0.178-0.576c-0.019-0.042-0.04-0.081-0.06-0.123   c-0.068-0.146-0.144-0.287-0.229-0.423c-0.035-0.054-0.072-0.108-0.108-0.161c-0.03-0.042-0.055-0.087-0.087-0.127l-29.014-37.059   v-36.942c0-1.957-1.586-3.544-3.544-3.544h-10.194V78.663c0-1.957-1.586-3.544-3.544-3.544h-5.614V54.622   c0-1.957-1.586-3.543-3.544-3.543h-9.59V23.336c0-1.958-1.586-3.544-3.544-3.544c-1.957,0-3.543,1.586-3.543,3.544v27.742h-9.568   c-1.958,0-3.544,1.586-3.544,3.543v20.498h-5.615c-1.957,0-3.543,1.587-3.543,3.544v29.656h-10.194   c-1.958,0-3.544,1.587-3.544,3.544v36.942l-29.013,37.059c-0.032,0.042-0.058,0.086-0.088,0.129   c-0.037,0.052-0.074,0.105-0.107,0.16c-0.088,0.138-0.165,0.28-0.231,0.426c-0.019,0.041-0.042,0.078-0.058,0.119   c-0.078,0.188-0.137,0.382-0.181,0.578c-0.012,0.053-0.019,0.107-0.027,0.162c-0.03,0.171-0.049,0.344-0.053,0.517   c0,0.032-0.01,0.062-0.01,0.094V544.49h-23.029c-1.956,0-3.544,1.587-3.544,3.544v28.63c0,1.958,1.588,3.544,3.544,3.544h184.707   c1.958,0,3.544-1.586,3.544-3.544v-28.63C395.898,546.077,394.312,544.49,392.354,544.49z M237.764,191.592h124.482v121.651   H237.764V191.592z M309.584,58.166v16.954h-19.158V58.166H309.584z M286.882,82.207h26.246h5.614v26.112h-37.475V82.207H286.882z    M277.724,115.407h44.562h10.194v31.077H267.53v-31.077H277.724z M265.713,153.571H334.3l24.216,30.933h-117.02L265.713,153.571z    M237.764,320.331h124.482V544.49H237.764V320.331z M388.811,573.12h-177.62v-21.542h23.029h131.57h23.019v21.542H388.811z"/>
          <path d="M299.993,199.61c-27.998,0-50.776,22.778-50.776,50.777c0,28.003,22.778,50.785,50.776,50.785   c28.007,0,50.791-22.782,50.791-50.785C350.784,222.389,328,199.61,299.993,199.61z M299.993,294.085   c-24.091,0-43.689-19.604-43.689-43.698c0-24.091,19.6-43.689,43.689-43.689c24.099,0,43.703,19.598,43.703,43.689   C343.697,274.482,324.093,294.085,299.993,294.085z"/>
          <path d="M264.513,343.394c-1.957,0-3.544,1.586-3.544,3.544V527.06c0,1.958,1.587,3.544,3.544,3.544   c1.958,0,3.544-1.586,3.544-3.544V346.938C268.057,344.979,266.47,343.394,264.513,343.394z"/>
          <path d="M288.018,343.394c-1.958,0-3.544,1.586-3.544,3.544V527.06c0,1.958,1.586,3.544,3.544,3.544   c1.957,0,3.544-1.586,3.544-3.544V346.938C291.562,344.979,289.975,343.394,288.018,343.394z"/>
          <path d="M311.519,343.394c-1.958,0-3.544,1.586-3.544,3.544V527.06c0,1.958,1.586,3.544,3.544,3.544   c1.956,0,3.544-1.586,3.544-3.544V346.938C315.063,344.979,313.475,343.394,311.519,343.394z"/>
          <path d="M335.023,343.394c-1.957,0-3.543,1.586-3.543,3.544V527.06c0,1.958,1.586,3.544,3.543,3.544   c1.958,0,3.544-1.586,3.544-3.544V346.938C338.567,344.979,336.982,343.394,335.023,343.394z"/>
          <path d="M299.994,246.844h-28.317c-1.956,0-3.544,1.586-3.544,3.544s1.588,3.544,3.544,3.544h24.774v26.605   c0,1.958,1.586,3.544,3.543,3.544c1.958,0,3.544-1.586,3.544-3.544v-30.149C303.538,248.43,301.952,246.844,299.994,246.844z"/>
        </g>
      </svg>
      <p>London</p>
      <p class="local-time" data-tz="Europe/London"></p>
  </div>

  <div class="time-block">
    <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="600px" height="100px" viewBox="0 0 600 600" enable-background="new 0 0 600 600" xml:space="preserve">
  <g>
    <path d="M396.84,463.705h-20.294v-29.838c0-1.98-1.604-3.584-3.584-3.584H358.86V201.78c0-1.978-1.604-3.583-3.584-3.583h-9.682   v-28.068c0-1.979-1.604-3.583-3.584-3.583h-17.644v-28.069c0-1.979-1.604-3.583-3.584-3.583h-4.038   c-3.101-6.607-13.16-31.534-13.16-76.703V28.662c0-1.98-1.604-3.584-3.584-3.584c-1.98,0-3.583,1.605-3.583,3.584v29.529   c0,45.169-10.061,70.096-13.16,76.703h-4.04c-1.979,0-3.584,1.604-3.584,3.583v28.068H257.99c-1.98,0-3.584,1.604-3.584,3.584   v28.068h-9.683c-1.98,0-3.584,1.605-3.584,3.583v228.503h-14.102c-1.979,0-3.583,1.604-3.583,3.584v29.837H203.16   c-1.979,0-3.584,1.604-3.584,3.583v66.329c0,1.979,1.605,3.584,3.584,3.584h193.681c1.98,0,3.584-1.604,3.584-3.584v-66.329   C400.425,465.31,398.82,463.705,396.84,463.705z M300,102.785c2.736,15.722,6.435,26.305,8.877,32.109H291.12   C293.566,129.089,297.264,118.506,300,102.785z M282.8,142.061h2.658c0.001,0,0.002,0,0.006,0c0.001,0,0.002,0,0.004,0h31.73   v24.485H282.8V142.061L282.8,142.061z M261.574,173.712h17.642h41.565h17.644v24.484h-76.851V173.712z M248.308,205.364h9.683   h84.018h9.684v224.919H248.306V205.364H248.308z M230.62,437.449h14.104h110.55h14.104v26.256H230.619L230.62,437.449   L230.62,437.449z M393.256,530.035H206.742v-59.163h20.295h145.924h20.294V530.035L393.256,530.035z"/>
    <path d="M264.718,215.252c-1.979,0-3.583,1.605-3.583,3.584v25.484c0,1.979,1.604,3.583,3.583,3.583   c1.979,0,3.583-1.604,3.583-3.583v-25.484C268.301,216.856,266.696,215.252,264.718,215.252z"/>
    <path d="M282.359,215.252c-1.979,0-3.583,1.605-3.583,3.584v25.484c0,1.979,1.605,3.583,3.583,3.583   c1.979,0,3.583-1.604,3.583-3.583v-25.484C285.942,216.856,284.338,215.252,282.359,215.252z"/>
    <path d="M300,215.252c-1.98,0-3.584,1.605-3.584,3.584v25.484c0,1.979,1.604,3.583,3.584,3.583c1.979,0,3.584-1.604,3.584-3.583   v-25.484C303.583,216.856,301.978,215.252,300,215.252z"/>
    <path d="M317.641,215.252c-1.979,0-3.584,1.605-3.584,3.584v25.484c0,1.979,1.604,3.583,3.584,3.583s3.584-1.604,3.584-3.583   v-25.484C321.225,216.856,319.62,215.252,317.641,215.252z"/>
    <path d="M335.282,215.252c-1.979,0-3.582,1.605-3.582,3.584v25.484c0,1.979,1.604,3.583,3.582,3.583   c1.98,0,3.584-1.604,3.584-3.583v-25.484C338.866,216.856,337.263,215.252,335.282,215.252z"/>
    <path d="M264.718,259.052c-1.979,0-3.583,1.604-3.583,3.584v25.484c0,1.979,1.604,3.583,3.583,3.583   c1.979,0,3.583-1.605,3.583-3.583v-25.484C268.301,260.656,266.696,259.052,264.718,259.052z"/>
    <path d="M282.359,259.052c-1.979,0-3.583,1.604-3.583,3.584v25.484c0,1.979,1.605,3.583,3.583,3.583   c1.979,0,3.583-1.605,3.583-3.583v-25.484C285.942,260.656,284.338,259.052,282.359,259.052z"/>
    <path d="M300,259.052c-1.98,0-3.584,1.604-3.584,3.584v25.484c0,1.979,1.604,3.583,3.584,3.583c1.979,0,3.584-1.605,3.584-3.583   v-25.484C303.583,260.656,301.978,259.052,300,259.052z"/>
    <path d="M317.641,259.052c-1.979,0-3.584,1.604-3.584,3.584v25.484c0,1.979,1.604,3.583,3.584,3.583s3.584-1.605,3.584-3.583   v-25.484C321.225,260.656,319.62,259.052,317.641,259.052z"/>
    <path d="M335.282,259.052c-1.979,0-3.582,1.604-3.582,3.584v25.484c0,1.979,1.604,3.583,3.582,3.583   c1.98,0,3.584-1.605,3.584-3.583v-25.484C338.866,260.656,337.263,259.052,335.282,259.052z"/>
    <path d="M264.718,302.855c-1.979,0-3.583,1.604-3.583,3.583v25.485c0,1.979,1.604,3.584,3.583,3.584   c1.979,0,3.583-1.604,3.583-3.584v-25.485C268.301,304.459,266.696,302.855,264.718,302.855z"/>
    <path d="M282.359,302.855c-1.979,0-3.583,1.604-3.583,3.583v25.485c0,1.979,1.605,3.584,3.583,3.584   c1.979,0,3.583-1.604,3.583-3.584v-25.485C285.942,304.459,284.338,302.855,282.359,302.855z"/>
    <path d="M300,302.855c-1.98,0-3.584,1.604-3.584,3.583v25.485c0,1.979,1.604,3.584,3.584,3.584c1.979,0,3.584-1.604,3.584-3.584   v-25.485C303.583,304.459,301.978,302.855,300,302.855z"/>
    <path d="M317.641,302.855c-1.979,0-3.584,1.604-3.584,3.583v25.485c0,1.979,1.604,3.584,3.584,3.584s3.584-1.604,3.584-3.584   v-25.485C321.225,304.459,319.62,302.855,317.641,302.855z"/>
    <path d="M335.282,302.855c-1.979,0-3.582,1.604-3.582,3.583v25.485c0,1.979,1.604,3.584,3.582,3.584   c1.98,0,3.584-1.604,3.584-3.584v-25.485C338.866,304.459,337.263,302.855,335.282,302.855z"/>
    <path d="M264.718,346.654c-1.979,0-3.583,1.603-3.583,3.582v25.486c0,1.979,1.604,3.583,3.583,3.583   c1.979,0,3.583-1.604,3.583-3.583v-25.486C268.301,348.257,266.696,346.654,264.718,346.654z"/>
    <path d="M282.359,346.654c-1.979,0-3.583,1.603-3.583,3.582v25.486c0,1.979,1.605,3.583,3.583,3.583   c1.979,0,3.583-1.604,3.583-3.583v-25.486C285.942,348.257,284.338,346.654,282.359,346.654z"/>
    <path d="M300,346.654c-1.98,0-3.584,1.603-3.584,3.582v25.486c0,1.979,1.604,3.583,3.584,3.583c1.979,0,3.584-1.604,3.584-3.583   v-25.486C303.583,348.257,301.978,346.654,300,346.654z"/>
    <path d="M317.641,346.654c-1.979,0-3.584,1.603-3.584,3.582v25.486c0,1.979,1.604,3.583,3.584,3.583s3.584-1.604,3.584-3.583   v-25.486C321.225,348.257,319.62,346.654,317.641,346.654z"/>
    <path d="M335.282,346.654c-1.979,0-3.582,1.603-3.582,3.582v25.486c0,1.979,1.604,3.583,3.582,3.583   c1.98,0,3.584-1.604,3.584-3.583v-25.486C338.866,348.257,337.263,346.654,335.282,346.654z"/>
    <path d="M264.718,390.453c-1.979,0-3.583,1.604-3.583,3.582v25.486c0,1.979,1.604,3.584,3.583,3.584   c1.979,0,3.583-1.604,3.583-3.584v-25.486C268.301,392.057,266.696,390.453,264.718,390.453z"/>
    <path d="M282.359,390.453c-1.979,0-3.583,1.604-3.583,3.582v25.486c0,1.979,1.605,3.584,3.583,3.584   c1.979,0,3.583-1.604,3.583-3.584v-25.486C285.942,392.057,284.338,390.453,282.359,390.453z"/>
    <path d="M300,390.453c-1.98,0-3.584,1.604-3.584,3.582v25.486c0,1.979,1.604,3.584,3.584,3.584c1.979,0,3.584-1.604,3.584-3.584   v-25.486C303.583,392.057,301.978,390.453,300,390.453z"/>
    <path d="M317.641,390.453c-1.979,0-3.584,1.604-3.584,3.582v25.486c0,1.979,1.604,3.584,3.584,3.584s3.584-1.604,3.584-3.584   v-25.486C321.225,392.057,319.62,390.453,317.641,390.453z"/>
    <path d="M335.282,390.453c-1.979,0-3.582,1.604-3.582,3.582v25.486c0,1.979,1.604,3.584,3.582,3.584   c1.98,0,3.584-1.604,3.584-3.584v-25.486C338.866,392.057,337.263,390.453,335.282,390.453z"/>
  </g>
  </svg>
    <p>New York</p>
    <p class="local-time" data-tz="America/New_York"></p>
  </div>

  <div class="time-block">
    <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="600px" height="100px" viewBox="0 0 600 600" enable-background="new 0 0 600 600" xml:space="preserve">
  <path fill="#222221" d="M473.794,141.892c1.954,0,3.537-1.583,3.537-3.537v-13.148h38.285c0.99,0,1.935-0.415,2.604-1.143  c1.57-1.708,38.538-42.113,45.187-67.537c0.339-1.295-0.083-2.67-1.089-3.553c-1.006-0.882-2.422-1.124-3.665-0.619  c-0.448,0.183-45.117,18.269-64.96,20.653c-12.7,1.523-69.751,1.65-122.229,1.65l-23.213-0.002c-18.563,0-37.585,0.014-48.193,0.171  c-10.715-0.158-29.738-0.171-48.304-0.171l-23.214,0.002c-52.477,0-109.528-0.127-122.226-1.65  c-19.851-2.384-64.518-20.47-64.967-20.653c-1.239-0.504-2.659-0.262-3.665,0.619c-1.005,0.883-1.426,2.259-1.088,3.553  c6.648,25.424,43.616,65.83,45.187,67.537c0.669,0.729,1.615,1.143,2.604,1.143h38.253v13.148c0,1.954,1.584,3.537,3.537,3.537  h4.316v9.773h-4.316c-1.953,0-3.537,1.583-3.537,3.537v13.149H75.12c-1.953,0-3.538,1.583-3.538,3.537v39.269  c0,1.954,1.584,3.537,3.538,3.537h48.008V505.51h-6.775c-1.954,0-3.537,1.584-3.537,3.537v8.242h-8.242  c-1.954,0-3.537,1.583-3.537,3.537v8.227H75.12c-1.953,0-3.538,1.584-3.538,3.537v11.777c0,1.954,1.584,3.537,3.538,3.537h155.756  c1.953,0,3.537-1.583,3.537-3.537V532.59c0-1.953-1.584-3.537-3.537-3.537H204.96v-8.227c0-1.954-1.583-3.537-3.537-3.537h-8.242  v-8.242c0-1.953-1.583-3.537-3.538-3.537h-6.767V214.695H417.59V505.51h-6.784c-1.954,0-3.537,1.584-3.537,3.537v8.242h-8.241  c-1.953,0-3.537,1.583-3.537,3.537v8.227h-25.908c-1.954,0-3.537,1.584-3.537,3.537v11.777c0,1.954,1.583,3.537,3.537,3.537H525.34  c1.954,0,3.537-1.583,3.537-3.537V532.59c0-1.953-1.583-3.537-3.537-3.537h-25.923v-8.227c0-1.954-1.585-3.537-3.537-3.537h-8.241  v-8.242c0-1.953-1.583-3.537-3.537-3.537h-6.77V214.695h47.547c1.954,0,3.538-1.583,3.538-3.537v-39.269  c0-1.954-1.584-3.537-3.538-3.537h-47.547v-13.149c0-1.954-1.583-3.537-3.537-3.537h-3.317v-9.773H473.794z M470.257,134.818h-3.317  h-37.957h-4.315v-9.611h45.591L470.257,134.818L470.257,134.818z M45.925,61.769c13.754,5.327,43.555,16.342,59.547,18.263  c13.085,1.571,70.387,1.701,123.069,1.701l23.214-0.002c18.539,0,37.532,0.014,48.304,0.17c10.665-0.157,29.655-0.17,48.193-0.17  l23.213,0.002c52.682,0,109.983-0.131,123.072-1.701c15.987-1.919,45.786-12.935,59.54-18.262  c-9.225,21.392-34.591,50.297-40.03,56.364h-40.252H421.13h-99.533h-43.185h-99.563h-52.672H85.956  C80.516,112.068,55.149,83.169,45.925,61.769z M318.058,168.352h-36.108v-43.145h36.108V168.352z M129.714,125.207h45.598v9.611  h-3.326h-37.958h-4.314V125.207z M137.565,141.892h30.884v9.773h-30.884V141.892L137.565,141.892z M129.714,158.74h4.314h37.958  h3.326v9.609h-45.598V158.74z M178.849,151.666h-3.325v-9.773h3.325c1.953,0,3.537-1.583,3.537-3.537v-13.148h92.489v43.145h-92.489  v-13.149C182.386,153.249,180.802,151.666,178.849,151.666z M227.34,540.83H78.658v-4.703h25.917h96.849h25.917V540.83  L227.34,540.83z M197.886,529.053h-89.775v-4.689h8.242h73.291h8.242V529.053z M186.108,517.289h-66.217v-4.705h6.776h52.673h6.767  V517.289z M175.803,505.51h-45.599V214.695h45.599V505.51z M521.804,540.83H373.122v-4.703h25.908h96.851h25.924L521.804,540.83  L521.804,540.83z M492.342,529.053h-89.775v-4.689h8.24h73.294h8.24L492.342,529.053L492.342,529.053z M480.565,517.289h-66.219  v-4.705h6.784h52.665h6.77V517.289z M470.257,505.51h-45.591V214.695h45.591V505.51z M521.342,207.621h-47.547H421.13h-241.79  h-52.673H78.658v-32.194h199.754h43.183h199.746L521.342,207.621L521.342,207.621z M325.133,168.352v-43.145h92.458v13.148  c0,1.954,1.584,3.537,3.538,3.537h4.315v9.773h-4.315c-1.954,0-3.538,1.583-3.538,3.537v13.149H325.133z M470.257,158.74v9.609  h-45.591v-9.609h4.315h37.957H470.257z M463.403,151.666H432.52v-9.773h30.883V151.666z"/>
  </svg>
    <p>Tokyo</p>
    <p class="local-time" data-tz="Asia/Tokyo"></p>
  </div>

  <div class="time-block">
    <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="600px" height="100px" viewBox="0 0 600 600" enable-background="new 0 0 600 600" xml:space="preserve">
  <path d="M543.404,241.957L302.174,103.726c-1.347-0.771-3-0.771-4.347,0L56.596,241.957c-1.719,0.984-2.561,3.002-2.05,4.916  c0.509,1.915,2.243,3.247,4.225,3.247h24.118v192.54v19.672h-16.03c-2.413,0-4.371,1.956-4.371,4.37v25.779  c0,2.415,1.958,4.372,4.371,4.372h466.285c2.415,0,4.371-1.957,4.371-4.372v-25.779c0-2.414-1.956-4.37-4.371-4.37h-16.03V442.66  V250.12h24.117c1.981,0,3.713-1.332,4.225-3.247C545.965,244.959,545.122,242.941,543.404,241.957z M210.629,250.12v188.167h-62.17  V250.12H210.629z M460.285,267.545h48.086V421.79h-48.086V267.545z M508.371,258.801h-48.086v-7.755h48.086V258.801z   M460.285,430.533h48.086v7.754h-48.086V430.533z M455.914,447.031h52.457v15.301H91.629v-15.301h52.457h70.914h56.829h56.343H385  H455.914z M91.629,430.45h48.085v7.84H91.629V430.45z M139.714,421.708H91.629V267.463h48.085V421.708z M139.714,258.719H91.629  v-7.672h48.085V258.719z M267.457,258.719h-48.085v-7.672h48.085V258.719z M219.372,267.463h48.085v154.245h-48.085V267.463z   M219.372,430.45h48.085v7.84h-48.085V430.45z M332.543,267.545h48.085V421.79h-48.085V267.545z M380.628,258.801h-48.085v-7.755  h48.085V258.801z M332.543,438.287v-7.754h48.085v7.754H332.543z M323.801,438.287h-47.602V250.12h47.602V438.287z M528.771,471.073  v17.038H71.23v-17.038h16.029h425.484H528.771z M451.543,438.287h-62.17V250.12h62.17V438.287z M75.19,241.377L300,112.556  l224.808,128.821H75.19z"/>
  </svg>
    <p>Athens</p>
    <p class="local-time" data-tz="Europe/Athens"></p>
  </div>
</div>
              
            
!

CSS

              
                html, body {
  font-family: 'Yanone Kaffeesatz', sans-serif;
  background: #e1e1e1;
}

.clearfix:after { 
   content: "."; 
   visibility: hidden; 
   display: block; 
   height: 0; 
   clear: both;
}

.container {
  width: 300px;
  margin: 80px auto 0;
}

.time-block {
  float: left;
  width: 260px;
  margin: 0 20px 40px;
  padding: 20px;
  background: #fff;
  box-sizing: border-box;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;  
}

.time-block svg {
  width: 100%;
}

.time-block svg, .time-block svg path {
  fill: #8b96a8;
}

.time-block p {
  text-align: center;
  font-size: 30px;  
  margin: 10px 0;
  color: #424344;
}
.time-block .local-time {
  font-size: 35px; 
  font-weight: bold;
  color: #36578a;
}

@media (min-width:768px) {
  .container {
    width: 600px;
  }
}

@media (min-width:1200px) {
  .container {
    width: 1200px;
  }
}

              
            
!

JS

              
                function showTheTime() {
  $('.local-time').each(function() {
    var timeZone = $(this).data('tz');
    var now = moment().tz(timeZone).format('HH:mm');
    $(this).html( now );
  });
};

showTheTime(); // for the first load
setInterval(showTheTime, 250); // update it periodically
              
            
!
999px

Console