Bug #19056 » 8893_4.3_alpha1.patch
t3lib/jsfunc.evalfield.js (working copy) | ||
---|---|---|
}
|
||
// Seconds since midnight:
|
||
function evalFunc_getTime(timeObj) {
|
||
return timeObj.getUTCHours()*60*60+timeObj.getUTCMinutes()*60+Math.round(timeObj.getUTCSeconds()/1000);
|
||
return timeObj.getUTCHours() * 60 * 60 + timeObj.getUTCMinutes() * 60 + timeObj.getUTCSeconds();
|
||
}
|
||
function evalFunc_getYear(timeObj) {
|
||
return timeObj.getUTCFullYear();
|