Results 1 to 1 of 1
Thread: how to get time from kernel
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2007
how to get time from kernel
i want to get the time whose format likes "Apr 22 10:13:04" in module ,but now i get only the seconds from 1970 useing the struct xtime, and i konw to get the format in userspace using strftime() method ,but i don't konw how to get it in kernel ,
so please help me .
any answer would be appreciated very much .