-
Notifications
You must be signed in to change notification settings - Fork 2
DateTime.Now function
Douglas Lyman edited this page Nov 28, 2022
·
5 revisions
Gets the current local date and time.
static DateTime Now();
A DateTime object with it's fields set to the current local date and time.
#include "DateTime.h"
int main() {
DateTime time = DateTime::Now();
printf("[%00hu:%00hu:%00hu]", time.wHours, time.wMinutes, time.wSeconds); // Will print the local time as following: [hh:mm:ss]
}
Header | DateTime.h |
---|---|
Assembly | Artemis-API.lib |
The Project Artemis components: Artemis - Artemis-Loader - Artemis-Installer - Artemis-Extension-Framework
The team behind Project Artemis: Sigma - Monke - Tavreth
Contact us at artemis.singularity@gmail.com or join our Discord server!