| |
|
|
Clemens Meier | Hello together,
I use XProfan first again since a couple Meet, circa for a friend one Geburtstagsgeschenk To basteln. thereby fell me on, that in XProfan so well How no date- and Uhrzeitfunktionen to find are. one get of course the actually Date and The actually Uhrzeit, still the was is already. nothing with to charge, vergleichen or ähnliches. and I too another begeisterter PHPler be, the items How date and mktime knows, have I time dran staid and both for XProfan as include-File realized.
I have though a couple hours used, because at testing spezieller Sonderfälle over ands over again smaller ones Problems auftauchten, The hopefully now any eliminating are.
Gültigkeitsbereich: 1970 To 2099 Sommerzeit and GMT won't berücksichtigt (would only important, if one over the computer out times vergleichen must)
indicated of month's- and Wochentagsnamen are german. Wochennummern to ISO (ächz, wasn't slight). and naturally can inside the mktime - function too calculate and the function undertaking The Korrektur the data (example see enclosed datumuhrzeit.prf). further see info.txt in the zipper-File.
I hope, it can used and be i am pleased on one Feedback
Greeting
Clemens |
|
|
| |
|
|
|
| Hello Clemens,
Yes, nice work! The Testwerte suited, except for whom last. Perhaps is it too only one Verständnisfehler of me?
Kalenderwoche on the 01.01.2006: 52
find we on the 01.01. not Kalenderwoche 1?
Why postest You your Inc not Wettbewerbsbereich for 2006? Letztes year was a Inc too very successful. |
|
|
| |
|
|
|
Frank Abbing | Sorry, Have from slip as Guest posted. was of me. |
|
|
| |
|
|
|
Clemens Meier | there lying well one Verständnisproblem to. one look on a beliebigen Calendar the too a Wochennummer mitführt (the Outlook goes too). Beautiful would it, if on the 01.01. one each year The Wochenummer with 1 begin would.
to Info: The week catches with the monday on (not sunday, though sunday The Wochentagzahl 0 and monday The Wochentagzahl 1 has). that is, on the 1. monday in the year begins one with 1 To count, unless ... and now Better get going tricky ... if the part the week To Beginn the year More as 3 days has.
competition, mmh? be of course no type for, but I look time, as functions. |
|
|
| |
|
|
|
| Yes, in the german Calendar begins The first week with the week To count, The at least 4 days has. through these Verschieberei can it in a year even 53 weeks give - it must means too the Vorjahr with mind go, if The first week not 1 begins (decision: 52. od. 53. week the Vorjahres).
[quote:0bf01e8fa7=Clemens Meier]and I too another begeisterter PHPler be[/quote:0bf01e8fa7] then look you too time the Codesnippet unix time PHP on.
Approaches for Date and Zeitberechnungen find You over The Suchfunktion, it given there already some things.
Perhaps arise Yes still time one kompletter set on date-/Zeitroutinen.
Best wishes Michael Wodrich |
|
|
| |
|
|
|
Jac de Lad | goes lovely, Have yet no Error discover can.
@Frank: there had I Parcival means in competition post can??? goes the now too yet, though I already so plenty there- and hergepostet Have???
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 03/17/06 ▲ |
|
|
|
|
Frank Abbing | clear, Jac. Know not, what against it talk ought to. |
|
|
| |
|
|
|
ByteAttack | Well! i know now Real not Why it's located, but the Include depends itself on, when the 31.12.2007 in that game comes. Please time try:
$I date.inc
Declare month%,day%,year%,temp$
Window Style 26
Window Title date.inc Test
Window 0,0-%maxX,%maxY
first Test
monat%=12
tag%=31
jahr%=2008
temp$=One day later as the +st$(day%)+.+Str $(month%)+.+Str $(year%)+ is the:
print temp$+in that$(.,in that$(.,fdate(%d%m%Y,mktime(0,0,0,month%,day%+1,year%)),3),6) +1day
Zweiter Test
jahr%=2007
temp$=One day later as the +st$(day%)+.+Str $(month%)+.+Str $(year%)+ is the:
print temp$+in that$(.,in that$(.,fdate(%d%m%Y,mktime(0,0,0,month%,day%+1,year%)),3),6) +1day
waitmouse
|
|
|
| |
|
|
|
GDL | Gültigkeitsbereich: 1970 To 2099
Sniff, be aba 61 born.
Hello Georg |
|
|
| |
|
|
|
Dieter Zornow | by me is correct some not at Test z.B. jetziges Date and Uhrzeit to 100 hours comes by me 01.01.1970 00.00:00, the Example of Marc is too moreover.
Greeting from Bangkok
Dieter |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 10/31/07 ▲ |
|
|
|
|
ByteAttack | Well, I faith with the MWDATE.DLL is one rather dran. (goes mere unfortunately only under Profan ex Version 10) |
|
|
| |
|
|
|
Michael Wodrich | Marc-Gordon
Well, I faith with the MWDATE.DLL is one rather dran. (goes mere unfortunately only under Profan ex Version 10)
then must I there well still time dransetzen?
The Includedatei can so adjusted go, the too frühere versions so clear come (then entrapments some in the Include programmed items weg; or go rewritten).
I werds me again into ToDo-list settle...
Best wishes Michael Wodrich
P.s.: The DLL catches with 1600 on (because of leap-year-Gedöns). I personally know none More personally, the before born watts. |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 10/31/07 ▲ |
|
|
|