Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Date with more than 24hours

$
0
0

Hi

 

I am using command below to get datetime and storing it to varchar type field.

 

$datetime = $today[mday].'/'.$today[mon].'/'.$today[year].'    '.$horaReal.':'.$today[minutes].':'.$today[seconds];

 

I notice that I have error dates with more than 24 hours. e.g: 26:04.

 

 

Moises
 


Viewing all articles
Browse latest Browse all 13200

Trending Articles