python datum abfragen code example
Example 1: date time heutiges datum
DateTime a = ;//some datetime
DateTime now = DateTime.Now;
TimeSpan ts = now-a;
Example 2: date time heutiges datum
string x = DateTime.Now.ToShortDateString()
DateTime a = ;//some datetime
DateTime now = DateTime.Now;
TimeSpan ts = now-a;
string x = DateTime.Now.ToShortDateString()