• Audmar
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I'm a complete newbie, so please bear with me. :)

 

I would like to have a field for Time on a custom object.  I noticed that there is a "Time" class in Apex, but I haven't seen anything about a "Time" field (only DateTime).  Ideally this field would behave like the Date/DateTime fields, and offer a pop-up for selecting a time value.  But more importantly, it should have built-in validation.

 

Does such a field type exist in Salesforce, or would I need to use a Text field with validation rules, and possibly VisualForce to create the "time selector"?

 

Is there a preferred method or best practice for dealing with Time-only values in Salesforce?

 

Thanks for any advice you can give.

  • December 15, 2011
  • Like
  • 0

I'm a complete newbie, so please bear with me. :)

 

I would like to have a field for Time on a custom object.  I noticed that there is a "Time" class in Apex, but I haven't seen anything about a "Time" field (only DateTime).  Ideally this field would behave like the Date/DateTime fields, and offer a pop-up for selecting a time value.  But more importantly, it should have built-in validation.

 

Does such a field type exist in Salesforce, or would I need to use a Text field with validation rules, and possibly VisualForce to create the "time selector"?

 

Is there a preferred method or best practice for dealing with Time-only values in Salesforce?

 

Thanks for any advice you can give.

  • December 15, 2011
  • Like
  • 0