|
-
July 26th, 2011, 08:53 AM
#1
how to extract the milliseconds
i have been searching the net for 3hours now on how to solve my problem about how to extract the milliseconds from an input but still found no answers. sigh! . Im trying my luck here that maybe experts have an idea about this.
the input i have is in type time_t. We know we can get the hours, minutes and seconds thru localtime call. but how about the milliseconds?
I saw ftime, gettimeofday, clock_gettime but theyre not helping me, they all return the current time.
can you help me?
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|