date format problem in PHP
Posted: Thu Jun 28, 2007 4:34 am
Hello ,
I am currently facing problem with date in php , whenever there is empty date field to be put in the mysql database, it automatically captures the timestamp as 943900200 when formatted it becomes '30-11-1999' which is wrong date.
facing this problem everywhere in application.
cant find the solution for this one,
currently handling this error by hard coding the above timestamp...
please suggest a solution for this one...
thank you in advance
I am currently facing problem with date in php , whenever there is empty date field to be put in the mysql database, it automatically captures the timestamp as 943900200 when formatted it becomes '30-11-1999' which is wrong date.
facing this problem everywhere in application.
cant find the solution for this one,
currently handling this error by hard coding the above timestamp...
please suggest a solution for this one...
thank you in advance