sqlines/str.cpp
// Convert 2 digit date time part (century, 2 digit year, month, day, hour, minute, second) to 2 chars
Convert 2 digit date time part (century, 2 digit year, month, day, hour, minute, second) to 2 chars
Convert 2 digit date time part ( century 2 digit year month day hour minute second ) to 2 chars
void Str::Dt2Ch(int dt, char *ch)
{
	if(ch == NULL)
		return;
	int f = dt/10;
	int s = dt%10;
	ch[0] = '0' + f;
	ch[1] = '0' + s;
}
void Str :: Dt2Ch ( int dt , char * ch ) { if ( ch == NULL ) return ; int f = dt / 10 ; int s = dt % 10 ; ch [ 0 ] = ' ' + f ; ch [ 1 ] = ' ' + s ; }
Convert 2 digit date time part (century, 2 digit year, month, day, hour, minute, second) to 2 chars
Convert 2 digit date time part ( century 2 digit year month day hour minute second ) to 2 chars
// Get the first and second digits