User Date Created

You can use Javascript to change format. Just modify you default index file her
Login as admin/reseller

Modify this /domains/default/index.html

Put this in header
HTML:
<script type="text/javascript">
function ChangeDateFormat(){
    var cd = new Date("|DATECREATED|");
    var D = cd.getDate();
    var M = cd.getMonth() + 1;
    var Y = cd.getFullYear();
    document.getElementById('ShowDate').innerHTML = D + "/" + M + "/" + Y;
}
</script>

Change
HTML:
<body>
to
HTML:
<body onload="ChangeDateFormat();">

Paste this tag where you want!
HTML:
<span id="ShowDate">00/00/0000</span>
 
Hello,


What's the end purpose for the format change?


It wouldn't be difficult for me to add another field called:
Code:
date_created_timestamp=1365229223
which would be universal.. but depends what you're looking to do.


John
 
What's the end purpose for the format change?

hehe ;D End purpose? I suppose that end purpose is display "CORRECT" date, for now it's "Fri Nov 25 21:57:25 2011" which is confusing (for our part of the planet of course ;) ) and as @ben29 says correct would be 25.11.2011 21:57:25.
 
Back
Top