title: how i can change year in buddist year in moment,js
body: <p>I am using  <a href="https://github.com/Eonasdan/bootstrap-datetimepicker" rel="nofollow noreferrer">bootstrap datetimepicker</a>. Its need <a href="http://momentjs.com/downloads/moment.min.js" rel="nofollow noreferrer">moment.js</a>.</p>
  
  <p>To make it local I have use this <a href="http://momentjs.com/downloads/moment-with-locales.js" rel="nofollow noreferrer">moment with locale</a></p>
  
  <p>I need my year should be <strong>Buddhist year-2016</strong> means <code>2559(2016+543)</code>. How can I achieve this using moment.</p>
  
  <p>My html is :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('#startDate').datetimepicker({
    format: 'DD-MM-YYYY',
    locale: 'th',
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css" rel="stylesheet"/&gt;
  &lt;link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.42/css/bootstrap-datetimepicker.min.css" rel="stylesheet"/&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://momentjs.com/downloads/moment-with-locales.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.42/js/bootstrap-datetimepicker.min.js"&gt;&lt;/script&gt;
  
  &lt;div class="col-md-6 date"&gt;
    &lt;input type='text' class="form-control" id='startDate' /&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I need this:</p>
  
  <p><a href="https://i.stack.imgur.com/h7Ymj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h7Ymj.png" alt="enter image description here"></a></p>