17 lines
413 B
Python
17 lines
413 B
Python
#!/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
|