![]() |
MySQL 9.6.0
Source Code Documentation
|
This service defines the timestamp function api. More...
#include <mysql_timestamp.h>
Public Attributes | |
| int(* | make_iso8601_timestamp_now )(char *buffer, size_t size) |
| Make and return an ISO 8601 / RFC 3339 compliant timestamp. More... | |
| int(* | make_iso8601_timestamp )(char *buffer, ulonglong utime, enum enum_iso8601_tzmode mode) |
| Make and return an ISO 8601 / RFC 3339 compliant timestamp. More... | |
This service defines the timestamp function api.
| int(* s_mysql_mysql_timestamp::make_iso8601_timestamp) (char *buffer, ulonglong utime, enum enum_iso8601_tzmode mode) |
Make and return an ISO 8601 / RFC 3339 compliant timestamp.
Accepts the log_timestamps global variable in its third parameter.
| 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 |
| length | of timestamp (excluding \0) |
| int(* s_mysql_mysql_timestamp::make_iso8601_timestamp_now) (char *buffer, size_t size) |
Make and return an ISO 8601 / RFC 3339 compliant timestamp.
| 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. |
| 0 | if size < iso8601_size else length of the timestamp (excluding \0) |