Formatting timestamps in the kernel
    Valdis.Kletnieks at vt.edu 
    Valdis.Kletnieks at vt.edu
       
    Tue Sep 17 20:07:26 EDT 2013
    
    
  
On Tue, 17 Sep 2013 16:18:51 -0700, Neil Baylis said:
> I think I read somewhere that timezones are considered a userspace concept,
> and as such are not supported within the kernel.
Correct.
Your best bet is probably to use "seconds and fractions since boot", since
you can steal all the code you need from printk().  Next best is to use
epoch seconds and fractions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130917/121c844c/attachment.bin 
    
    
More information about the Kernelnewbies
mailing list