Reputation: 48015
If you open this video you can see the published data : 09/apr/2008
But If I get the video trought .NET API and I do :
video.Updated.Year.ToString()
it prints 2011. Why?
If you see the XML you can see
<published>2008-04-09T18:32:39.000Z</published>
<updated>2011-10-30T16:14:02.000Z</updated>
so what's the method I need to call on Video object to access to that field?
I process the date with video.Updated.Year.ToString()
on the feed after calling http://gdata.youtube.com/feeds/api/users/zimbarvideo/uploads/?start-index=260&max-results=50&orderby=published
Upvotes: 3
Views: 536
Reputation: 48015
I've found the solution : just use video.YouTubeEntry.Published.Year
.
Thanks anyway!
Upvotes: 1