date type conversion..