Elaztek Developer Hub
Blamite Game Engine - Strings  00386.06.16.23.0646.blamite
A library containing general purpose utilities and classes for use in multiple projects.
datetime.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 #ifdef STRINGS_EXPORTS
6 #define STRINGS_API __declspec(dllexport)
7 #else
8 #define STRINGS_API __declspec(dllimport)
9 #endif
10 
11 namespace BlamStrings
12 {
13  namespace Utils
14  {
18  namespace DateTime
19  {
27  STRINGS_API std::string GetDateTime(const char* format);
28 
35  STRINGS_API std::string GetTimeLogFormat();
36  }
37  }
38 }
BlamStrings
Namespace for Blamite's shared C++ library.
Definition: events.h:172
STRINGS_API
#define STRINGS_API
Definition: datetime.h:8
BlamStrings::Utils::DateTime::GetDateTime
STRINGS_API std::string GetDateTime(const char *format)
Retrieves the current date/time in the specified format.
Definition: datetime.cpp:13
BlamStrings::Utils::DateTime::GetTimeLogFormat
STRINGS_API std::string GetTimeLogFormat()
Retrieves the current date/time in the following format, for use in the logger: MM....
Definition: datetime.cpp:29
datetime.h