* string form of a given Epoch time, without milliseconds and timezone offset, * as in format [YYYY-MM-DD hh:mm:ss] ex: [1997-07-16 19:20:30]. */
| 395 | * as in format [YYYY-MM-DD hh:mm:ss] ex: [1997-07-16 19:20:30]. |
| 396 | */ |
| 397 | String __hxcpp_to_string(double inSeconds) |
| 398 | { |
| 399 | struct tm time; |
| 400 | __internal_localtime( inSeconds, &time); |
| 401 | return __internal_to_string( time); |
| 402 | } |
| 403 | |
| 404 | /* |
| 405 | * input: takes Y-M-D h:m:s.ms (considers that date parts are in UTC date_time representation) |
nothing calls this directly
no test coverage detected