avr-libc: week_date Struct Reference

avr-libc 2.1.0 Standard C library for AVR-GCC |

## AVR Libc Home Page |  | ## AVR Libc Development Pages
## Main Page | ## User Manual | ## Library Reference | ## FAQ | ## Example Projects

Loading...
Searching...
No Matches
Data Fields
week_date Struct Reference

`#include <time.h>`

## Data Fields
int | year
int | week
int | day

## Detailed Description

Structure which represents a date as a year, week number of that year, and day of week. See http://en.wikipedia.org/wiki/ISO_week_date for more information.

## Field Documentation

## ◆ day

int week_date::day

day within week

## ◆ week

int week_date::week

week number (#1 is where first Thursday is in)

## ◆ year

int week_date::year

year number (Gregorian calendar)

The documentation for this struct was generated from the following file:

- time.h