I need to display the current date on my webpage using jquery or javascript, sounds easy right?
However I would like the date to be displayed in roman numerals (d/m/y format). eg: 13/10/2013 to be displayed as XIII.X.MMXIII
I have been trying for a few days now but everything I try won't work. I have a fairly limited knowledge of jquery and javascript, I only know how to do normal date. Like this:
<script type="text/javascript">
<!--
var currentTime = new Date()
var month = currentTime.getMonth() + 1
var day = currentTime.getDate()
var year = currentTime.getFullYear()
document.write(month + " . " + day + " . " + year)
//-->
</script>
If anyone can help me to display the date in roman numerals it would be greatly appreciated.
Thank you.