I'm looking to showcase the current date on my website using jquery or javascript, which seems like a simple task, right?
However, I want the date to be presented in roman numerals (d/m/y format). For example, instead of 13/10/2013, I would like it displayed as XIII.X.MMXIII
I've been attempting this for a few days now, but nothing I try seems to work. My knowledge of jquery and javascript is fairly limited, and I only know how to display the 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 assist me with displaying the date in roman numerals, I would greatly appreciate it.
Thank you.