# Пользовательские дополнения

На главную

## mission.GetWorldTimeHMS()

Возвращает текущее серверное время в формате h/m/s. Серверным временем считается среднее время по Гринвичу (GMT +0:00).

    -- система
    GameState

    -- библиотека:
    mission

    -- объявление:
    function GetWorldTimeHMS()

    -- параметры:
    нет

    -- возвращаемые значение:
    таблица с полями:
    h: number (integer) - часы
    m: number (integer) - минуты
    s: number (integer) - секунды

    -- пример:
    local time = mission.GetWorldTimeHMS()
    LogInfo( "time: ", time.h, "/", time.m, "/", time.s )

#### Связанные страницы: "CategoryLuaApi" "CategoryMission"

CategoryDragAndDrop
EventAvatarLogoutCancelled
EventAvatarWillBeRemoved
EventCameraDirectionChanged
EventCantLeaveGameInCombat
EventLoginlotteryChanged
EventMissionDragAndDropDragCancelled
EventMissionDragAndDropDragOver
EventMissionDragAndDropDragTo
EventMissionDragAndDropDropAttempt
EventMissionDragAndDropPickAttempt
EventMissionFreePortraitSlot
EventMissionInitialized
EventMissionLoadingProgress
EventUnstuckSpellChanged
EventUnstuckSpellEffect
FunctionMissionCancelLogout
FunctionMissionClearCharacterScene
FunctionMissionClearChatInput
FunctionMissionDragAndDropCancelDrag
FunctionMissionDragAndDropConfirmDropAttempt
FunctionMissionDragAndDropConfirmPickAttempt
FunctionMissionDragAndDropRegister
FunctionMissionDragAndDropUnregister
FunctionMissionDressCharacterScene
FunctionMissionFreePortrait
FunctionMissionGetCameraDirection
FunctionMissionGetChatInput
FunctionMissionGetChatInputSimilarCommands
FunctionMissionGetLoginLotteryInfo
FunctionMissionGetMaxCharacterSceneCount
FunctionMissionGetMonthDaysCount
FunctionMissionGetPlayTimeMs
FunctionMissionGetShardName
FunctionMissionGetUnstuckSpell
FunctionMissionGetWeakFactionBonus
FunctionMissionGetWeakFactionId
FunctionMissionGetWorldDateYMD
FunctionMissionGetWorldTimeHms
FunctionMissionLoginLotteryReceivePrizes
FunctionMissionLogout
FunctionMissionResetCharacterSceneRotation
FunctionMissionRotateCharacterScene
FunctionMissionSetAEMarkDecal
FunctionMissionSetAEMarkMinRange
FunctionMissionSetAEMarkOutOfRangeDecal
FunctionMissionSetAEMarkRadius
FunctionMissionSetAEMarkRange
FunctionMissionSetAEMarkVisObj
FunctionMissionSetCharacterScene
FunctionMissionSetCharacterScenePosition
FunctionMissionSetCharacterSceneScaleFactor
FunctionMissionSetCharacterSceneSmoothRotation
FunctionMissionSetChatInputArg
FunctionMissionSetChatInputData
FunctionMissionSetChatInputText
FunctionMissionSetChatInputType
FunctionMissionSetMarkerObject
FunctionMissionSetMountScene
FunctionMissionSetPortraitBackgroundTexture
FunctionMissionShowAEMark

CategoryLuaApi CategoryFunction CategoryMission

На главную