memset( sDate, 0, sizeof(sDate));
tempSize = strlen( argv[1] );
for ( j = tempSize - 1; j >= 0; j--)
{
if ( *(argv[1] + j) == '/' )
{
j = j + 7;
strncpy( sDate, argv[1] + j, 8 );
break;
}
}
crisis123 0 Newbie Poster
crisis123 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.