A sphere with three ocean waves in differing shades of blue. Next to the sphere, there is the bolded text "Ocean Color". Under that, there are two acronyms, separated by a vertical pipe: OB.DAAC (Ocean Biology Distributed Active Archive Center) and OBPG (Ocean Biology Processing Group).
Lorem
ipsum
dolor
sit
amet
Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
oel_util
libtimeutils
gmt_offset.c
Go to the documentation of this file.
1
#include <
timeutils.h
>
2
3
4
/* -------------------------------------------------------------- */
5
/* gmt_offset) - determines offset from local to GMT time n secs */
6
7
/* -------------------------------------------------------------- */
8
time_t
gmt_offset
(
void
) {
9
struct
tm
trec;
10
trec.tm_year = 70;
11
trec.tm_mon = 0;
12
trec.tm_mday = 1;
13
trec.tm_hour = 0;
14
trec.tm_min = 0;
15
trec.tm_sec = 0;
16
trec.tm_isdst = 0;
17
18
return
(mktime(&trec));
19
}
20
gmt_offset
time_t gmt_offset(void)
Definition:
gmt_offset.c:8
tm
float tm[MODELMAX]
Definition:
atrem_corl1v2.h:248
timeutils.h