Quote Originally Posted by wysota
localtime() is not an ANSI C function
Of course it's an ANSI C function - it is listed and described by K&R in their ANSI C book.