Go to the source code of this file.
◆ BFTimeGetNS
| #define BFTimeGetNS |
( |
| x | ) |
((x - (unsigned int) x) * (1000*1000*1000)) |
◆ BFTimeGetS
| #define BFTimeGetS |
( |
| x | ) |
((unsigned int) x) |
◆ BFTimeMS
| #define BFTimeMS |
( |
| x | ) |
((BFTime) (x / 1000)) |
author: Brando date: 3/8/23
My attempt at making working with time easier
◆ BFTimeNS
| #define BFTimeNS |
( |
| x | ) |
((BFTime) (x / (1000*1000*1000))) |
◆ BFTimeUS
| #define BFTimeUS |
( |
| x | ) |
((BFTime) (x / (1000*1000))) |
◆ BFTimeGetCurrentDateTime()
Returns date for user's current timezone
◆ BFTimeGetCurrentTime()
| BFTime BFTimeGetCurrentTime |
( |
| ) |
|
Returns current time since 1970 Jan 1st
◆ BFTimeGetDateTimeLocal()
Returns date for user's current timezone
◆ BFTimeGetStructTMLocal()
| int BFTimeGetStructTMLocal |
( |
BFTime | time, |
|
|
struct tm * | tm ) |
Converts time to struct tm expressed in user's local time
◆ BFTimeGetStructTMUTC()
| int BFTimeGetStructTMUTC |
( |
BFTime | time, |
|
|
struct tm * | tm ) |
Converts time to struct tm expressed in UTC
◆ BFTimeSleep()
◆ kBFTimeMonthStringAprilFull
| const char* kBFTimeMonthStringAprilFull |
|
extern |
◆ kBFTimeMonthStringAugustFull
| const char* kBFTimeMonthStringAugustFull |
|
extern |
◆ kBFTimeMonthStringDecemberFull
| const char* kBFTimeMonthStringDecemberFull |
|
extern |
◆ kBFTimeMonthStringFebruaryFull
| const char* kBFTimeMonthStringFebruaryFull |
|
extern |
◆ kBFTimeMonthStringJanuaryFull
| const char* kBFTimeMonthStringJanuaryFull |
|
extern |
author: Brando date: 3/8/23
◆ kBFTimeMonthStringJulyFull
| const char* kBFTimeMonthStringJulyFull |
|
extern |
◆ kBFTimeMonthStringJuneFull
| const char* kBFTimeMonthStringJuneFull |
|
extern |
◆ kBFTimeMonthStringMarchFull
| const char* kBFTimeMonthStringMarchFull |
|
extern |
◆ kBFTimeMonthStringMayFull
| const char* kBFTimeMonthStringMayFull |
|
extern |
◆ kBFTimeMonthStringNovemberFull
| const char* kBFTimeMonthStringNovemberFull |
|
extern |
◆ kBFTimeMonthStringOctoberFull
| const char* kBFTimeMonthStringOctoberFull |
|
extern |
◆ kBFTimeMonthStringSeptemberFull
| const char* kBFTimeMonthStringSeptemberFull |
|
extern |