Results 1 to 1 of 1
hello,
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-28-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 5
how to get time from kernel
hello,
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 .


Reply With Quote
