Answers.Body: <p>You could create custom text fields, then add these 3 lines of javascript somewhere to your site where it will get loaded on every CiviCRM page:</p>
  
  <pre><code>CRM.$(document).on('crmLoad', function(e) {
    CRM.$('input[data-crm-custom="Event_Time:Start_Time"], input[data-crm-custom="Event_Time:Start_Time"]', e.target).timeEntry();
  });
  </code></pre>
  
  <p>This assumes you've named the custom group "Event Time" and the fields "Start Time" and "End Time". Adjust the code as needed to match the actual names of your fields (while creating/editing an event, right-click on a field and "Inspect" it - in your console look for the data-crm-custom attribute).</p>
  
  <p>The <code>.timeEntry()</code> widget will store the data in human readable format (e.g. 12:53PM). If you prefer it to be stored in a searchable format (so you can sort your events by time, etc) use <code>.crmDatepicker({date: false})</code> instead of <code>.timeEntry()</code>.</p>
  
  <p>Also be careful you don't load this snippet on <em>every</em> page of your website as it will cause an error on non-civi pages due to the lack of <code>CRM</code> variable. <a href="https://docs.civicrm.org/dev/en/master/hooks/hook_civicrm_coreResourceList/" rel="nofollow noreferrer">hook_civicrm_coreResourceList</a> is a good choice for achieving this.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-18T20:59:47.630Z
Answers.Text: Thank you.  What will happen if JavaScript is disabled? They would just get a custom text field but without the special formatting?
Answers.UserDisplayName: user1147171
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-19T00:50:49.870Z
Answers.Text: If js is disabled then CiviCRM is mostly unusable.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-17T18:11:41.297Z
Answers.LastActivityDate: 2017-04-19T00:54:04.733Z
Answers.LastEditDate: 2017-04-19T00:54:04.733Z
Answers.UserDisplayName: Coleman
Body: <p>We want to show multiple dates for the event, each with its own start and stop time.</p>
  
  <pre><code>Day 1
    Start Time #1
    Stop Time #1
  
  Day 2
    Start Time #2
    Stop Time #2
  </code></pre>
  
  <p>But in custom data (Administer > Customize Data and Screens > Custom Fields), it doesn't seem to be possible to add a field that is just a time without a date.</p>
  
  <p>I realize we could create two fields, each of which contains both a date and a time:</p>
  
  <pre><code>Day 1 Start
  Day 1 End
  Day 2 Start
  Day 2 End
  </code></pre>
  
  <p>But we'd have to enter each date twice, extra work and introducing an opportunity for errors in entering the redundant information. For each day of the event, we want to enter three items: the date, a start time and a stop time.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-14T05:38:11.223Z
Comments.Text: I see someone requesting this back in 2013, last comment here: https://issues.civicrm.org/jira/browse/CRM-4520
Comments.UserDisplayName: user1147171
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-14T07:14:37.293Z
Comments.Text: agreed there is not "time" Data and Input Field Type. And Date does not allow you to have a NULL date component. Could you use a text field and just ensure folks put in data as per your preferred input couldn't you? Not pretty but a workaround?
Comments.UserDisplayName: petednz - fuzion
Tags: <civievent><custom-fields><dates>
Title: Is it possible to add just a time as a custom data field for an event?
ThreadText: # Is it possible to add just a time as a custom data field for an event?
  
  (Asked by: username_0 on 2017-04-14)
  
  We want to show multiple dates for the event, each with its own start and stop time.
  Day 1
    Start Time #1
    Stop Time #1
  
  Day 2
    Start Time #2
    Stop Time #2
  
  But in custom data (Administer > Customize Data and Screens > Custom Fields), it doesn't seem to be possible to add a field that is just a time without a date.
  I realize we could create two fields, each of which contains both a date and a time:
  Day 1 Start
  Day 1 End
  Day 2 Start
  Day 2 End
  
  But we'd have to enter each date twice, extra work and introducing an opportunity for errors in entering the redundant information. For each day of the event, we want to enter three items: the date, a start time and a stop time.
  
  **Tags:** civievent, custom-fields, dates
  
  > **Comments:**
  > **username_0**: I see someone requesting this back in 2013, last comment here: https://issues.civicrm.org/jira/browse/CRM-4520  
  > **username_1**: agreed there is not "time" Data and Input Field Type. And Date does not allow you to have a NULL date component. Could you use a text field and just ensure folks put in data as per your preferred input couldn't you? Not pretty but a workaround?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-04-17. Score: 1
  
  You could create custom text fields, then add these 3 lines of javascript somewhere to your site where it will get loaded on every CiviCRM page:
  CRM.$(document).on('crmLoad', function(e) {
    CRM.$('input[data-crm-custom="Event_Time:Start_Time"], input[data-crm-custom="Event_Time:Start_Time"]', e.target).timeEntry();
  });
  
  This assumes you've named the custom group "Event Time" and the fields "Start Time" and "End Time". Adjust the code as needed to match the actual names of your fields (while creating/editing an event, right-click on a field and "Inspect" it - in your console look for the data-crm-custom attribute).
  The .timeEntry() widget will store the data in human readable format (e.g. 12:53PM). If you prefer it to be stored in a searchable format (so you can sort your events by time, etc) use .crmDatepicker({date: false}) instead of .timeEntry().
  Also be careful you don't load this snippet on every page of your website as it will cause an error on non-civi pages due to the lack of CRM variable. hook_civicrm_coreResourceList is a good choice for achieving this.
  
  > **Comments:**
  > **username_0**: Thank you.  What will happen if JavaScript is disabled? They would just get a custom text field but without the special formatting?  
  > **username_2**: If js is disabled then CiviCRM is mostly unusable.  
  
  ---
  
  