Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a custom list with a view that utilizes one of the fields, a date field, to populate a calendar view. Pretty standard stuff. The problem is when creating a Calendar view, you need to select a start and end date and time. If the instance is an all day event, it will still show midnight next to the item.

As a note, the data field that populates the start and end date and times for the view is Date only, it has not captured any time data.

Is there a way to strip the time from the view?

enter image description here

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

I'm not sure, because I don't have environment now to look at the elements, but I think that you can find tag for time in html by firebug and use css or js to hide it. See this link for more details.

share|improve this answer
    
Unfortunately the little date there is part of the whole tiles element, and doesn't have a tag of it's own. Very odd. –  Michael Lapidakis Mar 7 '13 at 18:17
    
have you seen the link that I provided? It looks like the solutions in it should work. –  Alexander Mar 7 '13 at 18:26
    
Look at this link too, there are a lot of pictures :) –  Alexander Mar 7 '13 at 18:31
add comment

If the calendar is an all day-event, make sure you choose the "All Day Event" checkbox. This removes the timestamp from any event item. This is of course presumes that you are using Calendar as a parent type.

share|improve this answer
    
I've created a Calendar View for a custom list. There's no "All Day Event" checkbox in the properties of the view. –  Michael Lapidakis Mar 7 '13 at 19:32
    
You need to have the Event content type as the parent of the custom list you have. That way you can have the "All Day Event" functionality to your list. My suggestion would be to enable the "management of content types" in the Advanced Settings of the list, add the Event content type, then add the custom columns to that Event instance in the list, and use that. –  Mike Mar 7 '13 at 19:55
    
@Mike This wouldn't be a good solution if you have a custom list of projects and each project list item has multiple date milestones. What would the "All Day Event" mean for a project which has more dates then just a "Start Date" and "End Date" that need to show up on the calendar? –  skeletank Mar 31 at 18:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.