<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I should've checked for POSIX compatibility… %s is indeed non
    standard.<br>
    <br>
    Can you please try…<br>
    <br>
    <tt>stat -c %Y somefile</tt><br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 28.01.2018 um 21:05 schrieb Geir
      Øyvind Vælidalo:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1CE2FE23-F198-4305-BF56-48EA301EF93B@validalo.net">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div style="margin: 0px; font-stretch: normal; line-height:
        normal; font-family: Menlo; background-color: rgb(255, 255,
        255);" class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">I get an error:</span></div>
      <div style="margin: 0px; font-stretch: normal; line-height:
        normal; font-family: Menlo; background-color: rgb(255, 255,
        255);" class=""><span style="font-variant-ligatures:
          no-common-ligatures" class=""><br class="">
        </span></div>
      <div style="margin: 0px; font-stretch: normal; line-height:
        normal; font-family: Menlo; background-color: rgb(255, 255,
        255);" class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">date +%s -r ./suc.zip</span></div>
      <div style="margin: 0px; font-stretch: normal; line-height:
        normal; font-family: Menlo; background-color: rgb(255, 255,
        255);" class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">date: illegal time format</span></div>
      <div style="margin: 0px; font-stretch: normal; line-height:
        normal; font-family: Menlo; background-color: rgb(255, 255,
        255);" class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">usage: date [-jnRu] [-d dst] [-r
          seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... </span></div>
      <div style="margin: 0px; font-stretch: normal; line-height:
        normal; font-family: Menlo; background-color: rgb(255, 255,
        255);" class=""><span style="font-variant-ligatures:
          no-common-ligatures" class="">            [-f fmt date |
          [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]</span></div>
      <div style="margin: 0px; font-stretch: normal; line-height:
        normal; font-family: Menlo; background-color: rgb(255, 255,
        255);" class=""><br class="">
      </div>
      <div>Strange, but it does not seem to work.</div>
      <div>I try with hardcoded times.</div>
      <div><br class="">
      </div>
      <div>Geir</div>
      <div><br class="">
      </div>
      <div>
        <blockquote type="cite" class="">
          <div class="">28. jan. 2018 kl. 21:00 skrev Michael Balzer
            <<a href="mailto:dexter@expeedo.de" class=""
              moz-do-not-send="true">dexter@expeedo.de</a>>:</div>
          <br class="Apple-interchange-newline">
          <div class=""><span style="font-family: monospace; font-size:
              11px; font-style: normal; font-variant-caps: normal;
              font-weight: normal; letter-spacing: normal; text-align:
              start; text-indent: 0px; text-transform: none;
              white-space: normal; word-spacing: 0px;
              -webkit-text-stroke-width: 0px; background-color: rgb(255,
              255, 255); float: none; display: inline !important;"
              class="">date +%s -r somefile</span></div>
        </blockquote>
      </div>
      <br class="">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
  </body>
</html>