[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: (fwd)



>From owner-rtl Sat Jul  7 09:50:22 2001
Received: from saraswathi.hclt.co.in ([202.54.64.6])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f67FoLh25473
	for <rtl@fsmlabs.com>; Sat, 7 Jul 2001 09:50:21 -0600
Received: from grofw (router.hclt.co.in [202.54.64.1]) by saraswathi.hclt.co.in with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id 3JWL8G11; Sat, 7 Jul 2001 21:26:48 +0530
Received: from SITARAMPRASAD ([192.168.210.114]) by sakthi.hclt.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id 3DWLR851; Sat, 7 Jul 2001 21:13:35 +0530
Message-ID: <000e01c106fc$589f1370$72d2a8c0@hclt.com>
From: "sitaram" <ksitaram@hclt.com>
To: <rtl@fsmlabs.com>
References: <001901c10637$359268c0$72d2a8c0@hclt.com> <01061902465701.00859@localhost.localdomain>
Subject: Re: [rtl] Hi
Date: Sat, 7 Jul 2001 21:18:58 +0530
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

Hi Silva and all,

  Thanks for the info.
  I tried using do_gettimeofday but it is giving time in seconds and micro
seconds.
  But my purpose is i need current time in some readable format, say,
HH:MM:SS
  Similar way i need to get current date in some readable format say,
MM/DD/YY or DD/MM/YY or some other fomat.

  Are there any RT Linux functions to retrieve or set the date and time in
the above specified formats.

Thanks,
sitaram


----- Original Message -----
From: Sergio Rui Silva <ee98153@fe.up.pt>
To: <rtl@fsmlabs.com>
Sent: Tuesday, June 19, 2001 8:16 AM
Subject: Re: [rtl] Hi


> Yes it does. Besides suporting do_gettimeofday and do settimeofday it also
> suports reading and changing a variaty of other clocks like CLOCK_REALTIME
> and CLOCK_GPOS. Beware that RTLinux can use many kinds of clocks and that
if
> you want to read the system time (Linux time) you should use CLOCK_GPOS or
> do_gettimeofday.
>
> Sergio Rui Silva
>
> FEUP
>
> Em Sexta 06 Julho 2001 16:17, escreveste:
>
> > > Hi all,
> >
> > Does RT Linux support functions to set or get current date and time.
> >
> > Thanks,
> > Sitaram
> >
> > SMILE  A  LOT  IT  COSTS  NOTHING
>
> ----------------------------------------
> Content-Type: text/html; charset="iso-8859-1"; name="Anexo: 1"
> Content-Transfer-Encoding: quoted-printable
> Content-Description:
> ----------------------------------------
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/

----- End of forwarded message from owner-rtl@fsmlabs.com -----