---
name: "week"
section: "3avr"
platform: "linux"
package: "avr-libc"
version: "1:2.2.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/week_date"
---

# week(3avr)

Part of [week\_date(3avr)](/week_date/3avr.md).

## NAME

week\_date

## SYNOPSIS

`#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

### int week\_date::day

day within week

### int week\_date::week

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

### int week\_date::year

year number (Gregorian calendar)

## Author

Generated automatically by Doxygen for AVR-LibC from the source code.
