DbDate



Describes date.

You can find more information in comments below.

struct DbDate
{
    short Year;
    unsigned short Month;
    unsigned short Day;

    explicit operator String() const; // Convert to Unicode string in YYYY-MM-DD format 
    explicit operator AnsiString() const; // Convert to ANSI string in YYYY-MM-DD format 
        
    bool operator==(const DbDate &other) const;
    bool operator!=(const DbDate &other) const;
};
Namespace: nitisa
Include: Nitisa/Db/DbDate.h