Description
Return the date for the trace recordSometimes, when we want to compare trace output it helps if we eliminate dates from the trace output This function allows that. $bw_trace_date is supposed to be an option field.
Usage
bw_trace_date( $format );Parameters
- $format
- ( mixed ) optional default: DATE_W3C –
Returns
voidSource
File name: oik-bwtrace/includes/bwtrace.phpLines:
1 to 9 of 9
function bw_trace_date( $format=DATE_W3C ) { global $bw_include_trace_date; $ret = null; if ( $bw_include_trace_date ) { $ret = date( $format ); $ret .= ' '; } return( $ret ) ; }View on GitHub View on Trac
Called by
1 to 2 of 2
