| 371 | } |
| 372 | |
| 373 | String __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, |
no outgoing calls
no test coverage detected