PostGIS
3.7.0dev-r@@SVN_REVISION@@
◆
postgis_time2tm()
static int postgis_time2tm
(
TimeADT
time
,
struct pg_tm *
tm
,
fsec_t *
fsec
)
static
Definition at line
688
of file
lwgeom_out_geojson.c
.
689
{
690
tm->tm_hour = time / USECS_PER_HOUR;
691
time -= tm->tm_hour * USECS_PER_HOUR;
692
tm->tm_min = time / USECS_PER_MINUTE;
693
time -= tm->tm_min * USECS_PER_MINUTE;
694
tm->tm_sec = time / USECS_PER_SEC;
695
time -= tm->tm_sec * USECS_PER_SEC;
696
*fsec = time;
697
return
0;
698
}
Referenced by
postgis_JsonEncodeDateTime()
.
Here is the caller graph for this function:
postgis
lwgeom_out_geojson.c
Generated by
1.9.1