cppgfx  0.1.0
C++17 educational graphics library
Timing

Time, Sleep and Date. More...

Functions

uint64_t cppgfx::App::micros ()
 Get the number of microseconds since the program started. More...
 
uint64_t cppgfx::App::millis ()
 Get the number of milliseconds since the program started. More...
 
int cppgfx::App::second ()
 Get the current second from the system clock [0-59]. More...
 
int cppgfx::App::minute ()
 Get the current minute from the system clock [0-59]. More...
 
int cppgfx::App::hour ()
 Get the current hour from the system clock [0-23]. More...
 
int cppgfx::App::day ()
 Get the current day of the month [1-31]. More...
 
int cppgfx::App::month ()
 Get the current month of the year [1-12]. More...
 
int cppgfx::App::year ()
 Get the current year. More...
 

Detailed Description

Time, Sleep and Date.

Function Documentation

◆ day()

int cppgfx::App::day ( )

Get the current day of the month [1-31].

Returns
The current day of the month

◆ hour()

int cppgfx::App::hour ( )

Get the current hour from the system clock [0-23].

Returns
The current hour

◆ micros()

uint64_t cppgfx::App::micros ( )

Get the number of microseconds since the program started.

Returns
The elapsed number of microseconds

◆ millis()

uint64_t cppgfx::App::millis ( )

Get the number of milliseconds since the program started.

Returns
The elapsed number of milliseconds

◆ minute()

int cppgfx::App::minute ( )

Get the current minute from the system clock [0-59].

Returns
The current minute

◆ month()

int cppgfx::App::month ( )

Get the current month of the year [1-12].

Returns
The current month of the year

◆ second()

int cppgfx::App::second ( )

Get the current second from the system clock [0-59].

Returns
The current second

◆ year()

int cppgfx::App::year ( )

Get the current year.

Returns
The current year