#include <mysql_timestamp_imp.h>
◆ make_iso8601_timestamp()
Make and return an ISO 8601 / RFC 3339 compliant timestamp.
Accepts the log_timestamps global variable in its third parameter.
- Parameters
-
| buf | A buffer of at least iso8601_size bytes to store the timestamp in. The timestamp will be \0 terminated. |
| utime | Microseconds since the epoch |
| mode | if 0, use UTC; if 1, use local time |
- Return values
-
| length | of timestamp (excluding \0) |
◆ make_iso8601_timestamp_now()
| int Mysql_timestamp_imp::make_iso8601_timestamp_now |
( |
char * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
staticnoexcept |
Make and return an ISO 8601 / RFC 3339 compliant timestamp.
- Parameters
-
| buffer | a buffer of at least iso8601_size bytes to store the timestamp in. The timestamp will be \0 terminated. |
| size | size of the buffer. |
- Return values
-
| 0 | if size < iso8601_size else length of the timestamp (excluding \0) |
The documentation for this class was generated from the following files: