title: Converting to and from Hindu calendar
body: <p>How can I convert <code>unix</code> time to <a href="http://en.wikipedia.org/wiki/Hindu_calendar">Hindu calendar<sup><em>&shy;Wikipedia</em></sup></a> time and the other way round in <code>php</code>, <code>Perl</code> or <code>Python</code> or <code>Java</code>? I know I can convert to <code>Hebrew</code> and <code>Jewish</code>. But <code>Hindu</code> is not an option.</p>
  
  <p>To be more specific, I'm talking about the Hindu lunar calendar. The following website is working and does exactly what I want: <a href="http://web.meson.org/calendars/">http://web.meson.org/calendars/</a>. For example, it 'translates' <code>28-1-2012</code> (Gregorian) to <code>5-11-2068</code> (Hind. Lun.). How can I accomplish the same task? And if there are absolutely no scrips out there, how can I write it myself?</p>