mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-21 21:32:40 +02:00
Removed extra newline.
This commit is contained in:
parent
340148ca40
commit
d2c9651836
@ -28,7 +28,6 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
//Print current time
|
//Print current time
|
||||||
time_t unixTime = time(NULL);
|
time_t unixTime = time(NULL);
|
||||||
|
|
||||||
struct tm* timeStruct = gmtime((const time_t *)&unixTime);//Gets UTC time. Currently localtime() will also return UTC (timezones not supported).
|
struct tm* timeStruct = gmtime((const time_t *)&unixTime);//Gets UTC time. Currently localtime() will also return UTC (timezones not supported).
|
||||||
|
|
||||||
int hours = timeStruct->tm_hour;
|
int hours = timeStruct->tm_hour;
|
||||||
|
Loading…
Reference in New Issue
Block a user