Hello all,
I have one column in the table called ‘Time’.I want to make an object in the Universe for Date.I need to extract Date from this “Time” field.
The Data Type of “Time” is Date/Time in the DataBase.We are Using MySQL.
Try using Cast() Pooja, a friendly note. I would suggest you to use the resources available and try to find out the first step towards the solution. I believe it will be of greater use for a long run.
Pooja,
I don’t have MySql to validate but how about trying this DATE_FORMAT(TimeColumn,’%d/%m/%Y’)
Well you can use CAST function to covert the Data type explicitly CAST(TimeColumn As Date)