Hello. Why I use function date with date field but year show '1970'
Sample. field ins_date = '17/06/2001'
date("d m Y", ins_date") -----> 01/01/1970
Try this : $ins_date = mktime(0,0,0,substr($ins_date,0,2),substr($ins_date,3,2),substr($ins_date,6,4)); date("d m Y", $ins_date);
I haven't tested it but I think it'll work.