local GlobalAddonName, E = ...
----------------------------------------------------------------
local function Collect_LoginTime()
	----------------------------------------------------------------
	if not E:func_CanCollectData() then return end
	local collectMASLENGO = Octo_ToDo_DB_Levels[E.curGUID].MASLENGO
	local collectPlayerData = Octo_ToDo_DB_Levels[E.curGUID].PlayerData
	----------------------------------------------------------------
	collectPlayerData.loginDate = date("%d.%m.%Y %H:%M:%S")
	collectPlayerData.loginDay = date("%d.%m.%Y")
	collectPlayerData.loginHour = date("%H:%M")
	collectPlayerData.needResetWeekly = nil
	collectPlayerData.needResetDaily = nil
	collectPlayerData.needResetMonth = nil
	collectPlayerData.time = time()
	collectPlayerData.tmstp_Daily = E.func_GetSecondsUntilDailyReset() + GetServerTime()
	collectPlayerData.tmstp_Weekly = E.func_GetSecondsUntilWeeklyReset() + GetServerTime()
end
----------------------------------------------------------------
function E.Collect_LoginTime()
	E.func_SpamBlock(Collect_LoginTime, true)
end