Download & Extend

Output Days between start and end dates.

Project:Date
Version:7.x-2.6
Component:Date Field
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Is there a way to display in my theme the start date and end date with all the days between? I am using a single date field with a start and end date. I have tried creating a custom field_formatter_view but every attempt has been unsuccessful. I can accomplish this using a custom function and putting the code in the node.tpl but I think it would be nice to have a custom format to do this with. Any suggestions?

nobody click here