Autor Beitrag
Moritz M.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1672



BeitragVerfasst: Fr 15.04.05 21:16 
Servus Leute,

ich schreibe gerade eine Date-Unit, die mir einige Berechnungen mit Daten durchführen kann. Heute habe ich sei fertiggestellt und auch mehrfach positiv getestet. Da auf dieser Basis allerdings ein neues Programm von mir entsteht, muss ich sicher sein, dass kein Fehler drin ist. Deswegen meine Bitte an euch: Die angehängt Anwendung zeigt euch zu einem Geburtsdatum einige Daten wie Alter, letzter Geburtstag, nächste Geburtstag und Sternzeichen an. Könntet ihr jeweils euer Geburtsdatum und schauen, ob alle Angaben stimmt? Wäre super!

Die Unit soll später Open-Source werden.

Vielen Dank, Moritz

Edit1: Erste Fehler ausgebessert.
Edit2: Schaltjahrprobleme verbessert.
Einloggen, um Attachments anzusehen!


Zuletzt bearbeitet von Moritz M. am Fr 15.04.05 23:55, insgesamt 2-mal bearbeitet
Tobias1
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 454

Win 98, XP Prof
D3 Prof, D2005 Prof
BeitragVerfasst: Fr 15.04.05 21:32 
Funktioniert; super :!:
mach doch noch Angaben wieviel Tage,Stunden,Monate man alt ist

_________________
Auch das schlechteste Buch hat seine gute Seite: die letzte. (John Osborne)
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Fr 15.04.05 22:03 
Und "08.12.1" oder "08.12.19" oder "08.12.190" würde ich nicht als korrekte Daten ansehen :-S

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Fr 15.04.05 22:32 
user profile iconGTA-Place hat folgendes geschrieben:
Und "08.12.1" oder "08.12.19" oder "08.12.190" würde ich nicht als korrekte Daten ansehen :-S


Doch. 1 = 2001; 19 = 2019; 190 = ?. Je nach Betriebssystemeinstellung werden weniger Stellen als 2 oder 4 anders interpretiert ;)

AXMD
Moritz M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1672



BeitragVerfasst: Fr 15.04.05 23:57 
So, erstmal danke für das Feedback :)

@Tobias1: Die Angaben sind Codeseitig bereits drinnen, werden allerdings noch nicht angezeigt, da es sich irgendwie nicht lohnt ;)
@GTAPlace: Wieso sollten Sie nicht gelten?
@AXMD: Da ich eine eigene StrToDate verwende fällt das wohl weg ;) Aber das hab ich jetzt auch eingebaut.

Neue Version oben im Thread.

Gruß
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 16.04.05 07:26 
Bei mir kommt bei 1 = Jahr 1.

EDIT: Ah, jetzt stimmts ja.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 16.04.05 09:31 
funktioniert einwandfrei

_________________
In the beginning was the word.
And the word was content-type: text/plain.