문제

I am using tornado 2.2 in Vxworks PPC board for running my C program. What is the Tornado shell command to get current sytem time. Google is not giving any answer for it, its only giving details about C system call to find system date.

This vxworks board is connected to a windows xp machine. I am able to see system time in windows. I hope vxworks board time is different from windows machine time.

도움이 되었습니까?

해결책

Once the vxwork board is rebooted, system time will get resetted to 1970. time command will returns the number of seconds ticked from 1970. To get and set the time in standard presentable format, we have to implement a C program.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top