Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with GetLocalTime
Message
From
12/06/2002 12:04:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Problem with GetLocalTime
Miscellaneous
Thread ID:
00667458
Message ID:
00667458
Views:
83
I'm having a problem with GetLocalTime. It is returning very strange values. I'm quite sure I'm calling it properly. The calling code looks like this:

DECLARE GetLocalTime IN Win32API STRING @

lcSystemTime = SPACE(32)
GETLOCALTIME(@lcSystemTime)

The value returned in lcSystemTime looks like this (hex bytes):
210 7 6 0
3 0 12 0
11 0 45 0
12 0 158 1
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
Of course, these values change slightly over time.

These are clearly invalid values. Any idea what's going wrong here?
Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform