1. Convert time to timestamp
select unix_timestamp('2009-10-26 10-06-07');
2. Convert timestamp to time
select from_unixtime(1256540102);
[About IP address conversion]
1. Convert IP address to number
select inet_aton ('210.30.0.103');
2. Convert numbers to IP addresses
select inet_ntoa (3525181543);