Hi I want to show the time in minutes For example, if it was 02:20 it should show 140 as the time. How?
Use explode(':') to get the hours and minutes separated, and then multiply the hour by 60 and add the minutes. In your example, it would be 2*60 + 20 = 140.
Diego
Hmmm well I don't know how to get the date in the first place. Can you tell me full code please?
date()
$date = date("g:i");
Cgraz
Oops! I meant time not date! Sorry!
Did you go to the link I sent you? The code I gave you returns the time. You should also search the manual before asking questions like how to get the time.