Modul:Zeit: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 160: Zeile 160:
local jahr = lang:formatDate ( 'Y' )
local jahr = lang:formatDate ( 'Y' )
local differenz = os.difftime ( os.time(), os.time ( { year = jahr, month = '01', day = '01' } ) )
local differenz = os.difftime ( os.time(), os.time ( { year = jahr, month = '01', day = '01' } ) )
ausgabe = differenz
ausgabe = math.floor ( differenz / 86400 +0.5 )
end
end
Anonymer Benutzer