WoW LibTime-1.0 addon Shadowlands/classic 2020
logo
wow addon LibTime-1.0

LibTime-1.0

Game Version: 9.0.2
Total Downloads: 1,092
Updated: Nov 19, 2020
Created: Oct 8, 2017
download LibTime-1.0Download Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
r13 +1 More release 19.63 KB Nov 19, 2020 9.0.2 0 download LibTime-1.0 r13

+1 More releaseDownload
r12 +1 More release 19.65 KB Nov 14, 2020 9.0.1 42 download LibTime-1.0 r12

+1 More releaseDownload
r11 +1 More release 19.69 KB Oct 18, 2020 9.0.1 60 download LibTime-1.0 r11

+1 More releaseDownload
r10 +1 More release 21.51 KB Oct 29, 2019 8.2.5 121 download LibTime-1.0 r10

+1 More releaseDownload
r9 +1 More release 21.51 KB Jun 25, 2019 8.1.5 100 download LibTime-1.0 r9

+1 More releaseDownload
r8 +1 More release 21.50 KB Mar 17, 2019 8.1.5 94 download LibTime-1.0 r8

+1 More releaseDownload
r7 +1 More release 21.72 KB Nov 22, 2018 8.0.1 118 download LibTime-1.0 r7

+1 More releaseDownload
r6 +1 More release 21.48 KB Aug 19, 2018 8.0.1 101 download LibTime-1.0 r6

+1 More releaseDownload
r5 +1 More release 21.72 KB Jul 18, 2018 8.0.1 95 download LibTime-1.0 r5

+1 More releaseDownload
r4 +1 More release 21.79 KB Oct 8, 2017 7.3.0 122 download LibTime-1.0 r4

+1 More releaseDownload
r3 +1 More release 21.73 KB Oct 8, 2017 7.3.0 32 download LibTime-1.0 r3

+1 More releaseDownload

Description

Share this:

Description

    A little library around date, time and GetGameTime and more…

 

To use in addons

  lib = LibStub("LibTime-1.0")

 

API

    GetGameTime

        This library detecting the seconds of server time.

        The fourth return value is a boolean to signalize sycronization.

    hours, minutes, seconds, secondsSynced = lib.GetGameTime( )

    GetLocalTime

    hours, minutes, seconds = lib.GetLocalTime( )

    GetUTCTime( [<inSeconds>] )

    hours, minutes, seconds = lib.GetUTCTime( )
seconds = lib.GetUTCTime(true) -- seconds since 1.1.1970 0:00

    GetCountryTime( <countryId>[, <inSeconds> ] )

    hours, minutes, seconds, countryName = lib.GetCountryTime( 98 )
seconds = lib.GetCountryTime(17,true)

    GetTimeString("GameTime|LocalTime|UTCTime|CountryTime"[, b24Hours[, displaySeconds[, countryId]]])

    "00:00" = lib.GetTimeString("GameTime",true)
"00:00:00" = lib.GetTimeString("LocalTime",true,true)
"00:00:00 AM" = lib.GetTimeString("UTCTime",false,true)
"00:00 PM" = lib.GetTimeString("CountryTime",false,false,23)

    iterateCountryList

    for id, name in lib.iterateCountryList() do
end

 

Localization

    Do you want to help translate this addon?
    See Curseforge localization tool

 

Hizuro's other projects

• https://www.curseforge.com/members/hizuro_de/projects

Comments

Add a comment