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;
		}
    }

^^^
can u please help me get rid rid of the error its really urgent

thank you!!!

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.