Initial commit

This commit is contained in:
2024-06-13 11:11:58 +02:00
commit 0b1d451e2b
15 changed files with 987 additions and 0 deletions

14
lib/dateconverter.py Normal file
View File

@@ -0,0 +1,14 @@
def DateCHToUS(date):
#01.02.2010 --> 2010-02-01
day=""
month=""
year=""
for i in range(0,1+1):
day+= date[i]
for i in range(3,4+1):
month+=date[i]
for i in range(6,9+1):
year+=date[i];
newdate = year+"-"+month+"-"+day
return(newdate)