months={"\074\097\110\117\097\114\121";"\070\101\098\114\117\097\114\121","\077\097\114\099\104";"\065\112\114\105\108","\077\097\121","\074\117\110\101","\074\117\108\121";"\065\117\103\117\115\116","\083\101\112\116\101\109\098\101\114";"\079\099\116\111\098\101\114","\078\111\118\101\109\098\101\114","\068\101\099\101\109\098\101\114"}daysinmonth={31,28,31,30;31,30,31,31;30;31,30,31}_G.gettime=function(A)time=tick()tsec=time%86400 hour=math.floor(((tsec/60)/60)%24)min=math.floor((tsec/60)%60)sec=math.floor(tsec%60)if sec<10 then sec="\048"..sec end if min<10 then min="\048"..min end if A~=true then if hour>12 then hour=hour-12 sec=sec.." \080\077"else sec=sec.." \065\077"end end string=hour..("\058"..(min..("\058"..sec)))return string end function shared.getdate()time=tick()year=math.floor((((time/60)/60)/24)/365.25+1970)day=math.ceil((((time/60)/60)/24)%365.25)for A=1,#daysinmonth,1 do if day>daysinmonth[A]then day=day-daysinmonth[A]else month=months[A]break end end string=month..(" "..(day..("\044 "..year)))return string end function shared.getdatetime(A)string=shared.gettime(A)..(" "..shared.getdate())return string end


months = {"January","February","March","April","May","June","July","August","September","October","November","December"}
daysinmonth = {31,28,31,30,31,30,31,31,30,31,30,31}
_G.gettime = function(hour24)
	time = tick()
	tsec = time % 86400
	hour = math.floor((tsec/60/60)%24)
	min = math.floor((tsec/60)%60)
	sec = math.floor(tsec%60)
	if sec < 10 then
		sec = "0"..sec
	end
	if min < 10 then
		min = "0"..min
	end
	if hour24 ~= true then
		if hour > 12 then
			hour = hour - 12
			sec = sec.." PM"
		else
			sec = sec.." AM"
		end
	end
	string = hour..":"..min..":"..sec
	return string
end
function shared.getdate()
	time = tick()
	year = math.floor(time/60/60/24/365.25+1970)
	day = math.ceil(time/60/60/24%365.25)
	for i=1, #daysinmonth do
		if day > daysinmonth[i] then
			day = day - daysinmonth[i]
		else
			month = months[i]
			break
		end
	end
	string = month.." "..day..", "..year
	return string
end
function shared.getdatetime(hour24)
	string = shared.gettime(hour24).." "..shared.getdate()
	return string
end
