I'm getting the notice - 'A non well formed numeric value encountered'. <p><?php echo date('l d F', $getdata->get('created')); ?></p>
created - is datetime from database.
What can cause it?
date()'s second argument is a Unix timestamp. Are you sure that $getdata->get('created') returns such a timestamp?
aopen wrote:created - is datetime from database.
There's your problem. As laserlight points out, the PHP [man]date/man function only works with Unix timestamps. Therefore, you either need to convert MySQL's datetime value to a Unix timestamp (e.g. with MySQL's UNIX_TIMESTAMP() ) or simply let the MySQL server get the date in the format you'd like (e.g. using MySQL's DATE_FORMAT() function).