function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Samuel StevensSamuel Stevens 

Creating custom field for start time

Would appreciate any help with creating a custom field for a start time for a meeting?  Field would be start time and they should be able to enter 7pm or 10am etc.  Wondering if there's a way to create some sort of 'time field' or whether a text field is the best option?
Best Answer chosen by Samuel Stevens
Prateek Singh SengarPrateek Singh Sengar
Hi Samuel,
You have couple of options.
1) Create a field of type Date/Time, this field will contain both date and time component.
2) Create a picklist with value likes 07:00 PM, 07:!5 PM etc. with the time interval that you need.
3) Create Text Field with validation rules to ensure that only time is entered.

Hope this helps.

All Answers

Prateek Singh SengarPrateek Singh Sengar
Hi Samuel,
You have couple of options.
1) Create a field of type Date/Time, this field will contain both date and time component.
2) Create a picklist with value likes 07:00 PM, 07:!5 PM etc. with the time interval that you need.
3) Create Text Field with validation rules to ensure that only time is entered.

Hope this helps.
This was selected as the best answer
Vyankatesh Choulwar 15Vyankatesh Choulwar 15
Hi Samuel,

There is data type of Date/Time while creating custom field.
Just go to Create-> Object -> new Custom Field -> Give relevant name of field -> select Date/Time field type. There you go!!

Thanks,
Vyankatesh
Samuel StevensSamuel Stevens
thank you guys!