Hi,
I have a var that gets the time from the db. When I display it, it show me in this format: 01:00:00.
How can I change it to 01:00 only?
Thanks, Assaf
Yes, use substr()
Like: $newtime = substr($time_from_db, 0, 5);
knutm