PHP
-
function formatDate($date_string, $format=‘l j F Y’, $return = false) {
-
$timestamp = $this->Time->toUnix($date_string);
-
//code here
-
}
This is only a test, as I am going to start pasting snippets of code perhaps who knows, right now I’m just annoyed.