Interface Birthdate

Represents a birthdate of a user.

interface Birthdate {
    @type: "birthdate";
    day: number;
    month: number;
    year: number;
}

Properties

Properties

@type: "birthdate"
day: number

Day of the month; 1-31.

month: number

Month of the year; 1-12.

year: number

Birth year; 0 if unknown.