Fixed time format

I guess there is wrong time format for the date() function.