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

Function __internal_to_string

src/hx/Date.cpp:373–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373String __internal_to_string(struct tm time)
374{
375 // YYYY-MM-DD hh:mm:ss
376
377 char buf[100];
378 strftime(buf,100, "%Y-%m-%d %H:%M:%S", &time);
379 return String::create(buf);
380}
381
382/*
383 * string form of a given Epoch time, without milliseconds,

Callers 2

__hxcpp_to_utc_stringFunction · 0.85
__hxcpp_to_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected