___________________________________________________________________________________________________________________________
GetGameTime, date and time are all covered in this little library.
lib = LibStub("LibTime-1.0")
GetGameTime
This library detects the seconds of server's time.
The fourth value returned is a Boolean that signals synchronization.
Hours, minutes, and seconds = lib.GetGameTime()
GetLocalTime
Hours, minutes and seconds = lib.GetLocalTime()
GetUTCTime( [ ] )
Hours, minutes and seconds = lib.GetUTCTime()
Seconds = lib.GetUTCTime() -- since 1.1.1970, 0:00
GetCountryTime( [, ] )
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
Endless possibilities
GetPlayedTime
The library will add session time when it calls "RequestTimePlayed", and at startup, this library will use the function.
`lib.RequestPlayedTime()` must be execute before to get data from Client API.
PlayedTime, total, level, and session = lib.GetPlayedTime()
You can request a specific time to play a video.
lib.RequestPlayedTime( )
Would you like to translate this Addon?
Curseforge Localization Tool
About Project
Created: March 2nd 2024
Updated: March 2nd 2024
Project ID: 35510
License: All Rights Reserved
__________________________________________
Game Versions:
1.01.03
1.01.03
1.01.03
1.01.03
1.01.03
__________________________________________
Flavors:
WoW Retail
__________________________________________
Categories
Companions
Battle
__________________________________________
Main File
March 2nd 2024
__________________________________________
Recent File
March 2nd 2024
__________________________________________
Members
__________________________________________
Report