Implemented from_string in C
Implemented from_string in C
added sizeof localtime() for comparison