Fetch strtotime data as time format with am and pm

Posted 5 months ago by Deekshith

Hi, I have a table with columns start time and end time and it don't have any date. I have converted time to strtotime and Stored in database. Now I want to know how to fetch time record in time format with am and pm using Db raw query or using any other way. Please guide me. I am not storing datetime here just storing time because this time data remains constant for all days. Ex : time: 10:00 AM converted to strtotime and storing in database.

Please sign in or create an account to participate in this conversation.