AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Timer.cpp File Reference
#include "Timer.h"
#include "StringFormat.h"
#include <iomanip>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  Acore
 
namespace  Acore::TimeDiff
 

Functions

struct tm * localtime_r (time_t const *time, struct tm *result)
 

Variables

constexpr uint64 Acore::TimeDiff::MILLISECONDS = 1000
 
constexpr uint64 Acore::TimeDiff::SECONDS = 1000 * MILLISECONDS
 
constexpr uint64 Acore::TimeDiff::MINUTES = 60 * SECONDS
 
constexpr uint64 Acore::TimeDiff::HOURS = 60 * MINUTES
 
constexpr uint64 Acore::TimeDiff::DAYS = 24 * HOURS
 

Function Documentation

◆ localtime_r()

struct tm * localtime_r ( time_t const *  time,
struct tm *  result 
)
227{
228 localtime_s(result, time);
229 return result;
230}

Referenced by guild_commandscript::HandleGuildInfoCommand(), and Acore::Time::TimeBreakdown().