| |
|
|
GDL | Hi, have in the RGH Forum often the word timestamp red.under Date get one zig itself widersprechender Answer for : where need one timestamp.
For which need one because now these sec of 01.01.19970 yet?Desswegen sustain one too only The Time as accurate, How steady The PC watch goes, if these moreover add.
Hello Georg |
|
|
| |
|
|
|
| meant is mostly the undertow. UNIX-TimeStamp via PHP-function time(). look time here [...] and [...] the Beauty is hold the one of these worth lovely calculate can. |
|
|
| |
|
|
|
GDL | I see, power then php from the detailed Sekundenwert then vaguely something like and naturally other. CompileMarkSeparationParameters t%,m%,j%
Let k%=Int(Add(0.6,Div(1,m%)))
Let l%=Sub(j%,k%)
Let o%=Add(m%,Mul(12,k%))
Let p!=Div(l%,100)
Let z1%=Int(Div(p!,4))
Let z2%=Int(p!)
Let z3%=Int(Div(Mul(5,l%),4))
Let z4%=Int(Div(Mul(13,Add(o%,1)),5))
Let z%=Add(z4%,z3%)
Sub z%,z2%
Add z%,z1%
Add z%,t%
Dec z%
Let z5%=Mul(7,Int(Div(z%,7)))
Sub z%,z5%
Case Equ(z%,0): Return Sonntag
Case Equ(z%,1): Return Montag
Case Equ(z%,2): Return Dienstag
Case Equ(z%,3): Return Mittwoch
Case Equ(z%,4): Return Donnerstag
Case Equ(z%,5): Return Freitag
Case Equ(z%,6): Return saturday
means integrally roughly seen.
Hello Georg |
|
|
| |
|
|
|
Michael Wodrich | Yes so becomes so quite everything kalendermäßige abgedeckt.
its Schade, that here each Betriebssystem his own Süppchen cook had to, though it already to PC-introduction The Possibility one detailed Uhrenbausteines given. so had one us so some save can.
Best wishes Michael Wodrich |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 10/26/07 ▲ |
|
|
|