10#ifndef __UTILS_DATETIME_H__
11#define __UTILS_DATETIME_H__
13#include "utils/utf8_string.h"
15namespace zrythm::utils::datetime
25epoch_to_str (qint64 epoch,
const Utf8String &format = u8
"yyyy-MM-dd hh:mm:ss");
Lightweight UTF-8 string wrapper with safe conversions.
Utf8String get_current_as_string()
Returns the current datetime as a string.
Utf8String get_for_filename()
Get the current datetime to be used in filenames, eg, for the log file.