* system 'date apis' in linux kernel
@ 2006-07-11 10:41 Chinmaya Mishra
2006-07-11 11:01 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Chinmaya Mishra @ 2006-07-11 10:41 UTC (permalink / raw)
To: Linux Kernel
Hi. . . .
In the Linux kernel is there any apis are available
which takes an unsigned long as an argument and
return the date in string format. Just like ctime() in
user space.
Thank You
Chinmaya
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: system 'date apis' in linux kernel
2006-07-11 10:41 system 'date apis' in linux kernel Chinmaya Mishra
@ 2006-07-11 11:01 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2006-07-11 11:01 UTC (permalink / raw)
To: chinmaya; +Cc: Linux Kernel
Ar Maw, 2006-07-11 am 16:11 +0530, ysgrifennodd Chinmaya Mishra:
> Hi. . . .
>
> In the Linux kernel is there any apis are available
> which takes an unsigned long as an argument and
> return the date in string format. Just like ctime() in
> user space.
No, and thats an extremely complex process so best kept outside of the
kernel.
In particular the kernel has no idea about
- Summer time shifting
- Leap second rules for different timezones
- Locales
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-11 10:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-11 10:41 system 'date apis' in linux kernel Chinmaya Mishra
2006-07-11 11:01 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®