daycount.js

Demo

This is a demonstration of the daycount.js project.

For example, here is some information about today:

Your browser calculated this information in your time zone when it loaded this page. To add this to another HTML page, just copy and paste this code:

<script src="http://joshuatacoma.ca/daycount.js/js/daycount-0.1.js"></script>
<div id="today" />
<script type="text/javascript">
  var today = new daycount.moment();
  document.getElementById('today').innerHTML =
    'Gregorian Calendar: ' + today.gregorian + '<br />' + 
    'Julian Day Number: ' + today.julianDay + '<br />' +
    'Local Julian Day Number: ' + today.localJulianDay + '<br />' +
    'Dreamspell Calendar: ' + today.dreamspell + '<br />' +
    'Venus Count: ' + today.venus + '<br />' +
    'Mars Count: ' + today.mars + '<br />' +
    'Thoth Count: ' + today.thoth + '<br />' +
    'Long Count: ' + today.long;
</script>

There’s also a mobile demo better suited to small screens, and for a more interesting and interactive tool, check out the explore.

Please report bugs and inaccuracies, suggest new features, or comment on others’ suggestions in the issue tracker, or just .

Log