local aTimes1_ = { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 }
addCommandHandler ( 'GetTime' ,
function ( aPlayer_ )
local time = getRealTime( )
local Date = string.format( '%04d-%02d-%02d %02d:%02d', time.year + 1900, time.month + 1, time.monthday, time.hour, time.minute )
for _ , v in ipairs ( aTimes_ ) do
if ( timer.hour == v ) then
outputChatBox ( ' PM ' , aPlayer_ )
end
end
end
)