How to create a Activity event(Sobject) vf page without the duration and time field. Because these fields are required one i don't need these on my page.so can we do it without these fields. If so can anyone provide me with some sample.
A Salesforce Event happens at a particular time and date, and has a duration in minutes. If you set the Start Datetime and Duration, the End Datetime will be filled in, and if you set Start and End, Duration will be filled in. However, you can't create an Event without specifying this information in some way. If you don't want to display it on the page, you could write a custom controller extension that sets these values "behind the scenes".
However, I don't understand why you would create an Event that doesn't happen at a particular time, so it may be that I'm missing something.