Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 2 Oct 2001 05:46:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 2 Oct 2001 05:45:58 -0400 Received: from t2.redhat.com ([199.183.24.243]:29943 "EHLO passion.cambridge.redhat.com") by vger.kernel.org with ESMTP id ; Tue, 2 Oct 2001 05:45:45 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: David Woodhouse X-Accept-Language: en_GB In-Reply-To: In-Reply-To: To: MOHAMMED AZAD Cc: "Linux-Kernel (E-mail)" Subject: Re: Getting system time in kernel.. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 02 Oct 2001 10:43:23 +0100 Message-ID: <3458.1002015803@redhat.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/