Hello i am trying to convert this date.
01. 06. 2015
Into mysql format, so i can insert it into database.
I tried this code, and other ombination with date and date format function.
`$mysqldate = date( 'Y-m-d H:i:s', strtotime($datefrom));`
but i get result
1.1.1970
Is it possible to do this with some date function, or i must use regex for resolving this problem. Maybe dateformat function?