mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: chinmaya@innomedia.soft.net
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: system 'date apis' in linux kernel
Date: Tue, 11 Jul 2006 12:01:16 +0100	[thread overview]
Message-ID: <1152615677.18028.10.camel@localhost.localdomain> (raw)
In-Reply-To: <44B3805C.9000608@innomedia.soft.net>

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


      reply	other threads:[~2006-07-11 10:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-11 10:41 Chinmaya Mishra
2006-07-11 11:01 ` Alan Cox [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1152615677.18028.10.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=chinmaya@innomedia.soft.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®