Strtotime returning wrong time value - adding 8 minutes on its own?

Gypeexped

New Member
I'm taking a string which represents a time value and am storing it in a database table where the field type is also a time value. The problem is that I try to first format the string to be of a date time format using the code:\[code\]date('H:m', strtotime($value));\[/code\]The issue is that its returning the time but with 8 minutes incremented to it.. I have no idea why is this happening. Im using php MySQL. Help please
 
Back
Top