Jump to content

my date fields is returning 1-1-1970


alvin567

Recommended Posts

It would help if you posted some relevant code, but to provide more detail, you are using a function such as date or strtotime that doesn't recognize the datestring or timestamp value you are giving it, so it is returning 1/1/1970 (in whatever format, depending on your script).  That date is the starting date of unix time.

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.