I would like to apologise for asking this wrong question on the list.
My mistake that I posted non-kernel question.
Thanks to Patrick for reminding me...
Sorry once again..
Dp
Dhirendra Pal Singh wrote:
Hi All,
How can I set/get time and date in linux using a c program.
I have seen ctime and other like functions but they are all getting
the time, not setting.
While settimeofday can only set the time. so how do I set the date
also..?
Any help would be appreciated...
Thanks in advance
Dp
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/