FACT++
1.0
|
void Time::SetFromStr | ( | const std::string & | str, |
const char * | format = "%Y-%m-%d %H:%M:%S" |
||
) |
Sets the time of the Time object to a time corresponding to the one given as argument. It is evaluated according to the given format.
str | The time as a string which should be converted to the Time object |
format | format description of the string to be returned. For details see the boost documentation or the man page of strftime |
Definition at line 273 of file Time.cc.
Referenced by main().