I have a date field. In my template I want to display the date in two different ways. I know in display I can set the format used for a date. To print the date in my template I am doing.
<?php print $node->field_date['view'] ?>
To print as a different format I tried
<?php print format_date($node->field_date['timestamp'],"custom","H:i")?>
However this does not seem to be showing the correct time...