| |
|
|
 Jörg Sellmeyer | who can tell because, Why the two functions different times zurückliefern? at least do tappt im dunkeln the by me - The Stundenzahl is with GetSystemTime circa two niedriger. CompileMarkSeparationDeclare Day$[7],Month$[12]
Day$[0] = Sonntag
Day$[1] = Montag
Day$[2] = Diestag
Day$[3] = Mittwoch
Day$[4] = Donnerstag
Day$[5] = Freitag
Day$[6] = Samstag
Month$[0] = Januar
Month$[1] = Februar
Month$[2] = März
Month$[3] = April
Month$[4] = Mai
Month$[5] = Juni
Month$[6] = Juli
Month$[7] = August
Month$[8] = September
Month$[9] = Oktober
Month$[10] = November
Month$[11] = Dezember
Declare TimeStruct#
Struct _TimeStruct = wYear%,
wMonth%,
wDayOfWeek%,
wDay%,
wHour%,
wMinute%,
wSecond%,
wMilliseconds%
Dim TimeStruct#,_TimeStruct
Def GetSystemTime(1) !Kernel32,GetSystemTime
Def GetLocalTime(1) !Kernel32,GetLocalTime
Proc Ausgabe
With TimeStruct#
Print Day$[.wDayOfWeek%] + der + Str$(.wDay%) + . + Month$[.wMonth% - 1] + + Str$(.wYear%)
Print Str$(.wHour%) + : + Str$(.wMinute%) + : + Str$(.wSecond%) + : + Str$(.wMilliseconds%)
EndWith
EndProc
GetSystemTime(TimeStruct#)
Ausgabe
GetLocalTime(TimeStruct#)
Ausgabe
WaitInput
|
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 05/03/07 ▲ |
|
|
|
|
 Detlef Tussing | Hello Jörg with Date Gibts The Statement the with GetLocaltime The Zeitzonen-Settings and the local sommerzeit/winterzeit beruecksichtigt. becomes. |
|
|
| Gruß Detlef Tussing Windows XP, XProfan 10 | 05/03/07 ▲ |
|
|
|
|
 Dieter Zornow | i think The Sytemzeit is still GMT by me in Bangkok is these Time circa 7 hours back.
greetings 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 | 05/03/07 ▲ |
|
|
|
|
 Detlef Tussing | have you got because In the Control Panel with date Uhrzeit too Bangkok tuned, because then are it 7 hours diverenz To mindest by me. Schalte but again circa, I Yes not Bangkok be. |
|
|
| Gruß Detlef Tussing Windows XP, XProfan 10 | 05/03/07 ▲ |
|
|
|
|
 Jörg Sellmeyer | Yes - be in the meantime yourself on it come - but nevertheless: thanks. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 05/03/07 ▲ |
|
|
|
|
 Dieter Zornow | naturally have The The Zeitzone for Bangkok tuned, therefore gives getlocaltime The actually Time in Bangkok back and Getsystemtime - 7 hours to Bangkokzeit |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 05/03/07 ▲ |
|
|
|