I have a database dumped from csv where i have a column name time_stamp that I imported using VARCHAR
I have two things that I am confused about now,
1) I want to be able to convert this column to either timestamp or datetime its current format is in dd/mm/yyyy H:M:S but i read that unix accepts only - instead of /. Is this true?
2) I want to query from the database a timestamp value that is the highest within a certain time range using the column above
Example: between 7 AM and 8 AM , it should give me the timestamp which will be the closest to 8AM
Forgive me for my question if my question is vague, but i haven't been able to find much related to my question. I am sure that this is gonna receive some down votes so please be kind.