function example_date_format in Coder 7
Same name and namespace in other branches
- 7.2 coder_upgrade/tests/old/samples/example.module \example_date_format()
File
- coder_upgrade/
tests/ old/ samples/ example.module, line 2924
Code
function example_date_format() {
$shortdate = format_date($log->timestamp, 'small');
$mediumdate = format_date($log->timestamp, 'medium');
$longdate = format_date($log->timestamp, 'large');
}