Re: Printout the current timestamp in VxWorks
- From: "george.camann@xxxxxxxxx" <george.camann@xxxxxxxxx>
- Date: 17 Dec 2005 02:53:47 -0800
Look in the ansiTime library, use time() to get the system time in
seconds (i.e. calendar time), then use ctime() to get the time into a
string. The difficult part is usualy setting the board time. On all the
PPC boards i've used, the time always starts at Zero, (00:00 January
1st, 1990) each time the board is booted. Look into building sntp into
the kernel to get time from ntp server if you can.
.
- Follow-Ups:
- Re: Printout the current timestamp in VxWorks
- From: jeanwelly
- Re: Printout the current timestamp in VxWorks
- References:
- Printout the current timestamp in VxWorks
- From: akarui . tomodachi
- Printout the current timestamp in VxWorks
- Prev by Date: Printout the current timestamp in VxWorks
- Next by Date: Re: Printout the current timestamp in VxWorks
- Previous by thread: Printout the current timestamp in VxWorks
- Next by thread: Re: Printout the current timestamp in VxWorks
- Index(es):
Relevant Pages
|