i have stored the user break times in the database...
user break start time and end time...
the timestamp stored in the database in the (yyyy-mm-dd hh:mm:ss) format in the database...
when i retrieve the time from the database the time will be like this...
2010-10-26 10:00:39
but i want only the time part. i.e 10:00:39
i dont want the date..
how to get only the time from the database? plz help?
user break start time and end time...
the timestamp stored in the database in the (yyyy-mm-dd hh:mm:ss) format in the database...
when i retrieve the time from the database the time will be like this...
2010-10-26 10:00:39
but i want only the time part. i.e 10:00:39
i dont want the date..
how to get only the time from the database? plz help?
Comment