MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / BGetLocalFormattedDateAndTime

Function BGetLocalFormattedDateAndTime

SourceSDK/tier1/strtools.cpp:2973–3044  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: format the time and/or date with the user's current locale If timeVal is 0, gets the current time This is generally for use with chatroom dialogs, etc. which need to be able to say "Last message received: %date% at %time%" Note that this uses time_t because RTime32 is not hooked-up on the client --------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

BGetLocalFormattedDateFunction · 0.85
BGetLocalFormattedTimeFunction · 0.85

Calls 5

CStrAutoEncodeClass · 0.85
Plat_localtimeFunction · 0.50
Q_strcatFunction · 0.50
Q_strncpyFunction · 0.50
ToStringMethod · 0.45

Tested by

no test coverage detected