Read the following chapter of LDD, its about flow of time in kernel. http://www.xml.com/ldd/chapter/book/ch06.html do_gettimeofday() function will do your work ..... Gaurav On Tue, 29 Mar 2005 16:08:43 +0200, sunil m <itsme.linux@xxxxxxxxx> wrote: > Hi > > How to get current date and time in a kernel module? Is there any > function exists for this? > > sunil m > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/