mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-08 01:30:13 +01:00
14 lines
235 B
C++
14 lines
235 B
C++
#pragma once
|
|
|
|
#include <stdafx.h>
|
|
|
|
const std::string get_current_date_time()
|
|
{
|
|
time_t now = time(0);
|
|
tm* tstruct = localtime(&now);
|
|
char buf[80];
|
|
strftime(buf, sizeof(buf), "%Y%m%d%H%M%S", tstruct);
|
|
delete tstruct;
|
|
return buf;
|
|
}
|