www.pudn.com > Block-Based_Image_Steganalysis_v1.zip > current_date_time.m, change:2009-08-29,size:675b


function [ date_time ] = current_date_time ( print_file )  
date_time = clock; 
if date_time(4) > 13    % PM 
    fprintf( print_file, '\nDate & Time = %02d / %02d   %02d : %02d P M \n\n', date_time(2), date_time(3), date_time(4)-12, date_time(5) ); 
    fprintf( '\nDate & Time = %02d / %02d   %02d : %02d P M \n\n', date_time(2), date_time(3), date_time(4)-12, date_time(5) );     
else    % AM 
    fprintf( print_file, '\nDate & Time = %02d / %02d   %02d : %02d A M \n\n', date_time(2), date_time(3), date_time(4), date_time(5) ); 
    fprintf( '\nDate & Time = %02d / %02d   %02d : %02d A M \n\n', date_time(2), date_time(3), date_time(4), date_time(5) );     
end 

送体验金的网站