Body: <p>I've installed civi for many organizations and every single one of the groups would prefer to select an end time for activities instead of duration.
  Ideally I'd like for them to enter the activity's end time on the webform that collects the activity and automatically calculate the duration.</p>
  
  <p>Has anyone successfully implemented this?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-22T20:46:25.470Z
Comments.Text: That would be difficult - how far do you get with webform calculator module?
Comments.UserDisplayName: KarinG - Semper IT
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-05-24T04:16:32.417Z
Comments.Text: If not w/ webform_calculator (time math is probably not supported) we could add this as a feature in webform_civicrm module itself. Let me know if your orgs are interested in becoming a webform_civicrm sponsor.
Comments.UserDisplayName: KarinG - Semper IT
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-01T17:31:14.650Z
Comments.Text: Thanks for the info. Yes I tried a bunch of different math calculations within webform but couldn't get anything to work in a large part because of how civi stores date info.
Comments.UserDisplayName: pmoz
Tags: <drupal><webform-civicrm><civicase><activities>
Title: Has anyone figured out how to use activity end time on a webform instead of duration?
ThreadText: # Has anyone figured out how to use activity end time on a webform instead of duration?
  
  (Asked by: username_0 on 2020-05-22)
  
  I've installed civi for many organizations and every single one of the groups would prefer to select an end time for activities instead of duration.
  Ideally I'd like for them to enter the activity's end time on the webform that collects the activity and automatically calculate the duration.
  
  Has anyone successfully implemented this?
  
  **Tags:** drupal, webform-civicrm, civicase, activities
  
  > **Comments:**
  > **username_1**: That would be difficult - how far do you get with webform calculator module?  
  > **username_1**: If not w/ webform_calculator (time math is probably not supported) we could add this as a feature in webform_civicrm module itself. Let me know if your orgs are interested in becoming a webform_civicrm sponsor.  
  > **username_0**: Thanks for the info. Yes I tried a bunch of different math calculations within webform but couldn't get anything to work in a large part because of how civi stores date info.  
  
  ---
  
  ## 0 answers
  
  