My static website generator using poole https://www.xythobuz.de
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

index.md 1.3KB

title: Home parent: main position: 1 flattr: true compat: home

noheader: true

Hi there!

I’m a <!--% from datetime import datetime from datetime import timedelta from calendar import isleap

size_of_day = 1. / 366. size_of_second = size_of_day / (24. * 60. * 60.)

def date_as_float(dt):

days_from_jan1 = dt - datetime(dt.year, 1, 1)
if not isleap(dt.year) and days_from_jan1.days >= 31+28:
    days_from_jan1 += timedelta(1)
return dt.year + days_from_jan1.days * size_of_day + days_from_jan1.seconds * size_of_second

start_date = datetime(1994,1,22,0,0) end_date = datetime.now() difference_in_years = date_as_float(end_date) - date_as_float(start_date)

print int(difference_in_years)

%--> year old software developer from Germany. All of my projects are released as free or open-source software on my Gitea Server, my GitHub profile and here on my website. Have fun!

To receive my latest updates, you can subscribe to the RSS Feed.

If you’d like, you can support my open-source work on GitHub Sponsors.

Recent Posts and Updates

Show all updates.