Description
Return the date in the given formatLike date() but makes it easier to code _month() and _day()
Usage
bw_otd_date( $format, $date );Parameters
- $format
- ( mixed ) optional default: Y –
- $date
- ( mixed ) optional –
Returns
voidSource
File name: oik-dates/shortcodes/oik-otd.phpLines:
1 to 9 of 9
function bw_otd_date( $format="Y", $date=null ) { if ( $date ) { $date = date( $format, $date ); } else { $date = date( $format ); } bw_trace2( $date, "date" ); return( $date ); }
Called by
1 to 3 of 3
Invoked by
Call hooks
API Letters:
