DateTime German Format Python

# This block is a pre-setup for retrieving datetime format in German
import os
import locale

if os.name == 'nt':  # if windows
    locale.setlocale(locale.LC_ALL, 'deu_deu')
else:
    locale.setlocale(locale.LC_TIME, 'de_DE.UTF-8')
Clumsy Cheetah