FireBirdLib - Topfield TMS PVR TAP Programming Library
Now.c
Go to the documentation of this file.
1
#include "
libFireBird.h
"
2
3
dword
Now
(
byte
*Sec)
4
{
5
TRACEENTER
();
6
7
word
MJD
;
8
byte
Hour, Min, DummySec;
9
dword ret;
10
11
TAP_GetTime(&
MJD
, &Hour, &Min, (Sec != NULL) ? Sec : &DummySec);
12
ret =
DATE
(
MJD
, Hour, Min);
13
14
TRACEEXIT
();
15
return
ret;
16
}
Now
dword Now(byte *Sec)
Definition:
Now.c:3
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
DATE
#define DATE(mjd, h, m)
Definition:
libFireBird.h:2702
MJD
#define MJD(d)
Definition:
libFireBird.h:2703
time
Now.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3