Ask Your Question
0

what does "ros::WallTime::now().toSec()" returns?

asked 2019-09-06 13:31:58 -0500

I am trying to print the current time in this format hr:min:sec .

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-09-06 22:36:45 -0500

Unix time, in a C++ double type

ei 1567827230.4325 when I read this question. Check out ctime and other time libraries, there's multiple solutions to convert unix time to any arbitrary human readable format.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-09-06 13:31:58 -0500

Seen: 9 times

Last updated: Sep 06