Convenience function to convert the current time, derived from UnixMicros(), to a date-time string in the local time zone, padded to nanosecond precision.
| 125 | /// Convenience function to convert the current time, derived from UnixMicros(), |
| 126 | /// to a date-time string in the local time zone, padded to nanosecond precision. |
| 127 | inline std::string CurrentTimeString() { |
| 128 | return ToStringFromUnixMicros(UnixMicros(), TimePrecision::Nanosecond); |
| 129 | } |
| 130 | } // namespace impala |
| 131 | #endif |