MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / __hxcpp_to_utc_string

Function __hxcpp_to_utc_string

src/hx/Date.cpp:386–391  ·  view source on GitHub ↗

* string form of a given Epoch time, without milliseconds, * as in format [YYYY-MM-DD hh:mm:ss +hhmm] ex: [1997-07-16 19:20:30 +0100]. */

Source from the content-addressed store, hash-verified

384 * as in format [YYYY-MM-DD hh:mm:ss +hhmm] ex: [1997-07-16 19:20:30 +0100].
385 */
386String __hxcpp_to_utc_string(double inSeconds)
387{
388 struct tm time;
389 __internal_gmtime( inSeconds, &time);
390 return __internal_to_string( time);
391}
392
393/*
394 * string form of a given Epoch time, without milliseconds and timezone offset,

Callers

nothing calls this directly

Calls 2

__internal_gmtimeFunction · 0.85
__internal_to_stringFunction · 0.85

Tested by

no test coverage detected