hi, if with "date" you mean time_t C standard type to manage
date/time, you can use the mktime function.
char in_date[20]="12/06/02";
struct tm TM ;
int M,D,Y;
char buf[3];
memset( &TM, 0, sizeof(TM) );
memset( buf, 0, 3 );
memcpy( buf, in_date+0, 2 ); M = atoi( buf ) ;
memcpy( buf, in_date+3, 2 ); D = atoi( buf ) ;
memcpy( buf, in_date+6, 2 ); Y = atoi( buf ) ;
TM.tm_mday = D ; // Day of the month - [1,31]
TM.tm_mon = M-1 ; // Months since January - [0,11]
TM.tm_year = D+100 ; // Years since 1900
return mktime( &TM ) ;
BYE