RE: gettimeofday() seems to return local time
RE: gettimeofday() seems to return local time
- Subject: RE: gettimeofday() seems to return local time
- From: "Michael Rubinstein" <email@hidden>
- Date: Thu, 2 Dec 2004 08:21:33 -0500
- Importance: Normal
>On Dec 1, 2004, at 5:57 PM, Michael Rubinstein wrote:
>
>> I'm using gettimeofday(), on OS X 10.3.6, to get the time
>resolution I
>> need (milliseconds).
>>
>> If I'm reading the documentation right, I should be getting time in
>> UTC. However, I'm getting local time.
>
>Have you checked that the time zone is properly set?
>
System Preferences/Date and Time show the right values. Is there
something else that I should check?
>You mention that this is on 10.3.6 -- do you know if it did
>the same on
>10.3.5 ?
>
I wrote the code after switching to 10.3.6. I haven't tested on other
versions.
Thanks,
Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden