libnova v 0.15.0
Data Fields
ln_date Struct Reference

Human readable Date and time used by libnova. More...

#include <ln_types.h>

Data Fields

int years
 
int months
 
int days
 
int hours
 
int minutes
 
double seconds
 

Detailed Description

Human readable Date and time used by libnova.

Date

This is the Human readable (easy printf) date format used by libnova. It's always in UTC. For local time, please use ln_zonedate.

Examples
comet.c, and transforms.c.

Field Documentation

◆ days

int ln_date::days

Days. Valid values 1 - 28,29,30,31 Depends on month.

Examples
transforms.c.

◆ hours

int ln_date::hours

Hours. Valid values 0 - 23.

Examples
transforms.c.

◆ minutes

int ln_date::minutes

Minutes. Valid values 0 - 59.

Examples
transforms.c.

◆ months

int ln_date::months

Months. Valid values : 1 (January) - 12 (December)

Examples
transforms.c.

◆ seconds

double ln_date::seconds

Seconds. Valid values 0 - 59.99999....

Examples
transforms.c.

◆ years

int ln_date::years

Years. All values are valid

Examples
transforms.c.