Re: Getting system time in kernel..

From: David Woodhouse (dwmw2@infradead.org)
Date: Tue Oct 02 2001 - 04:43:23 EST


mohammedazad@nestec.net said:
> Any idea how to get the system time in a kernel module.... I tried
> this in solaris... but i am getting only the GMT (that too elapsed
> time) how do i convert this to my locale time....

You can't. You shouldn't need to convert to localtime inside the kernel.
What, precisely, are you trying to achieve?

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:18 EST