Hi,
I'm trying to extract just the time element from time()
my code at present is.
Which prints for example,Code:time_t now; char buff[MAX_LEN]; time(&now); printf("%s\n", ctime(&now));
Thu May 20 11:40:56 2004
how do i change it to just extract the 11:40:56
Thanks