- Code: Select all
///////////////////
// Figures out what the current hour is, military time (real-world time)
///////////////////
function Systime_GetHour ()
var systime := polcore().systime;
//convert to GMT
// systime := systime + 43200;
systime := CINT (systime % SECONDS_PER_DAY);
var hour := CINT (systime / 3600);
return hour;
endfunction
Excuse my newbiness
How do I change this to show GMT -6 time
Thanks.