format_date() not working I've got a field in a content type called "field_program_date" of type "Date". I'm using Drupal's format_date() function to format the date in the content template like this:

$program_date = format_date($node-&gt;field_program_date[$node-&gt;language][0]['value'], 'custom', 'F j, Y');
print $program_date;


Something is wrong because nothing gets printed out at all.
Since the date is not coming out as a timestamp, you can to use strtotime. Something like:

$date = strtotime($node-&gt;field_program_date[$node-&gt;language][0]['value']);
$program_date = format_date($date, 'custom', 'F j, Y');
print $program_date;