#pragma once
struct _time{
char sec,min,hour;
};
struct _date{
char day,month,year,jh;
int fullyear() const {return jh*100+year;}
char maxday() const; // Letzten Tag des Monats ermitteln
void morgen(); // Tag um 1 erhöhen
void gestern(); // Tag zurück
void nextmonth();
void prevmonth();
// bool ereignis(const char*p) const; // Ereignis aus o.a. Tabelle finden
char dow() const; // Sonntag = 0
bool heute() const;
};
extern struct _jetzt{
_time t;
_date d;
}jetzt;
bool SetTime();
Detected encoding: UTF-8 | 0
|