Convert a text string that represents date/time into a Julian date value
BOOL str_to_date_custom( LPCSTR lpcszDateStr, LPCSTR lpcszFormatStr, double * pDate, DWORD dwOptions = 0 )
True if success, else false
EX1
void str_to_date_custom_ex1() { string strDate = "2003-03-21"; string strFormt = "yyyy'-'MM'-'dd"; double db; if(str_to_date_custom(strDate, strFormt,&db)) { printf("You have entered %s\n", get_date_str(db)); } }
str_to_date
origin.h