In my mysql database table i have two columns called "date" and "time". "date" datatype is set to DATETIME and "time" datatype is set to TIMESTAMP. what i want to do is store only date in "date" column and store only time in "time" column. my table name is "loans".I'm not good in SQL querying. someone please show me exactly how to do that.
And also i have some another problems with time zones. i want to convert my database time format to UTC -5:00 (us time).how can i do that without change my PC time ?