SQL>select serialname from serial_master where to_char(timeinindia ,'DD-MON-YYYY hh:mi:ss a.m.') <= '05-aug-2000 12:59:59'SERIALNAME----------KundaliKmgKsbkbthi