Jump to content

[SOLVED]echoing time from timestamp not working


legohead6

Recommended Posts

ok well i use the Now(); function to insert the time into the database(datetime), then i go to call it with this code and it shows up as december 31, 1969, which i know isnt todays date! ;D can someone please tell me what im doing wrong the inserting to the database works fine, it shows todays date but im trying to format it now

 

$date = date('F j, Y', $row[10]);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.