hi, php experts
if i haw two strings $a = "30.07.2009" and $b = "2009-07-30";
how can i convert thes strings to new strings for putting in mysql table?
string to date
Moderator: General Moderators
Re: string to date
That depends entirely on what data type you use for the column in your table.radiators wrote:hi, php experts
if i haw two strings $a = "30.07.2009" and $b = "2009-07-30";
how can i convert thes strings to new strings for putting in mysql table?
Read this: http://www.bigroom.co.uk/blog/dates-in-php-and-mysql