visual c++ - Conversion of string to time_t -
is there way convert string value time_t format?
thanks in advance.
one approach parse string various components , use them fill tm structure. once have structure filled data can use c function mktime convert structure time_t type.
there might more ideal ways in visual c++, in normal c/c++ way i'd untill i'd find better algorithm.
Comments
Post a Comment