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
Luffy Carl_opLuffy Carl_op 

How can I add a date/time type field from visualforce page to object?

There is a object, with a date/time field. I want add a record from visualforce page, What kind of component should i use?
sandeep sankhlasandeep sankhla
Hi Luffy,

You can simply use inputfield in vf page...so you will be able to edit the object datetime fields in vf page then you can save them...

Thanks
Sandeep