in D7 i have a date field with start date and end date and configured like start=now and end date=+30days. both dates are displayed well in two columns in a table views seperately. now i want a third column to dispaly like end date-start date = 30days. how? any help please.

  • Could you be more specific about what the third column should show? Do you just want to show the phrase "30 days"? Feb 16, 2013 at 6:33
  • no actualy it should display "time left".
    – bane
    Feb 16, 2013 at 6:35

1 Answer 1


You can add a global php field where you have the end date available as a token, you can get the current time using now and then get the difference between the 2 dates in days.

  • tried the same but not done. can u explain in more detail please?
    – bane
    Feb 16, 2013 at 16:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.