---
name: "ALLEGRO_DATE"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ALLEGRO_DATE/3alleg4"
---

# ALLEGRO\_DATE(3alleg4)

Defined to a number with the release date of Allegro.

## NAME

ALLEGRO\_DATE - Defined to a number with the release date of Allegro.

## SYNOPSIS

**#include \<allegro.h\>**

**#define ALLEGRO\_DATE**

## DESCRIPTION

Defined to an integer containing the release date of Allegro in the packed format \`yyyymmdd'. Example:

```
   const int year = ALLEGRO_DATE / 10000;
   const int month = (ALLEGRO_DATE / 100) % 100;
   const int day = ALLEGRO_DATE % 100;
   allegro_message("Year %d, month %d, day %d\n",
      year, month, day);
```
