From: David Woodhouse <dwmw2@infradead.org>
To: MOHAMMED AZAD <mohammedazad@nestec.net>
Cc: "Linux-Kernel (E-mail)" <linux-kernel@vger.kernel.org>
Subject: Re: Getting system time in kernel..
Date: Tue, 02 Oct 2001 10:43:23 +0100 [thread overview]
Message-ID: <3458.1002015803@redhat.com> (raw)
In-Reply-To: <F6E1228667B6D411BAAA00306E00F2A50109C8FC@pdc2.nestec.net>
In-Reply-To: <F6E1228667B6D411BAAA00306E00F2A50109C8FC@pdc2.nestec.net>
mohammedazad@nestec.net said:
> Any idea how to get the system time in a kernel module.... I tried
> this in solaris... but i am getting only the GMT (that too elapsed
> time) how do i convert this to my locale time....
You can't. You shouldn't need to convert to localtime inside the kernel.
What, precisely, are you trying to achieve?
--
dwmw2
next prev parent reply other threads:[~2001-10-02 9:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-02 9:14 Getting system time in kernel MOHAMMED AZAD
2001-10-02 9:43 ` David Woodhouse [this message]
2001-10-03 5:01 ` David Schwartz
2001-10-03 5:09 ` Keith Owens
2001-10-03 6:31 ` David Schwartz
2001-10-03 9:18 ` David Woodhouse
2001-10-03 8:33 ` Kai Henningsen
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=3458.1002015803@redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mohammedazad@nestec.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.