header date in spanish?

hi, i need to show the date in spanish Attachment 37590

1 answer

Profile photo of Saguaros 0.00 $tone June 16, 2014
Public

You can make your own change via this file: \app\design\frontend\default\jm_megamalltemplate\ page\html\jmtoolbar.phtml, look for this script:

Code:

<script>
var date= new Date();
var dayweek =["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][date.getDay()];
var month =["Jan","Feb","Mar","Apr","May","June","July","Aug","Sep","Oct","Nov","Dec"][date.getMonth()];
var day = date.getDate();
document.write(dayweek+", "+month+" "+day);
</script>
#1

Please login or Register to Submit Answer

Written By

Comments