erster Commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Created on Sun Jun 23 14:49:38 2024
|
||||
|
||||
@author: sven
|
||||
"""
|
||||
|
||||
import datetime
|
||||
|
||||
def umrechnen(dat_alt):
|
||||
zeitstempel1 = datetime.datetime.strptime(dat_alt, '%d.%m.%Y %H:%M:%S')
|
||||
zeitstempel_string = datetime.datetime.strftime(zeitstempel1, "%Y-%m-%dT%H:%M:%S")
|
||||
zeitstempel_string = zeitstempel_string + '.000000+00:00'
|
||||
return zeitstempel_string
|
||||
# pass
|
||||
Reference in New Issue
Block a user