Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting current time



Thanks, this works as well.

Matt Jaffa


On Jan 7, 2005, at 1:36 PM, William Kucharski wrote:

On Jan 7, 2005, at 12:45 PM, Matt Jaffa wrote:

I was wondering if there is a way to get the current time of the day it is on the system from
within a kernel extension I am writing.

You can follow the code for gettimeofday() and just call clock_get_calendar_microtime()...


	William Kucharski
	email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden
References: 
 >Getting current time (From: Matt Jaffa <email@hidden>)
 >Re: Getting current time (From: William Kucharski <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.