[PHP-DB] regarding date

2002-08-18 Thread Smita Manohar
hii i'm using php with my sql. i wanted to take date input in the dd-mm-yy format from user. is there any function to convert this accepted input into -mm-dd format to store in database ? thnx and regards _ Send and receive

Re: [PHP-DB] regarding date

2002-08-18 Thread Bas Jobsen
? $datum=07-11-76; $date=explode('-',$datum); echo date('Y-m-d',mktime(0,0,0,$date[1],$date[0],$date[2])); ? Op zondag 18 augustus 2002 09:53, schreef Smita Manohar: hii i'm using php with my sql. i wanted to take date input in the dd-mm-yy format from user. is there any function to convert