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

If you create a new ScheduledItem object and look at the StartDate - it's 1/1/1990 - why? This has just caught me out when trying to evaluate whether the dates have been set or whether they're, what I was guessing would be, MinDate.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Normally, if scheduling is activated on a SharePoint list, while adding a new item into the list, there are 2 options in the scheduled start date. Its either a "Scheduled Date" or "Immediately".

If a new list item is created to schedule immediately, these items would have a start date that is prior to the current date and internally SharePoint keeps this as "1/1/1990" to make it before the current date and to get it approved it in the next cycle asap. A similar explanation is given in the msdn article here which you can go through.

share|improve this answer
    
Thanks Deepu - I understand the way scheduling works and how the date must be previous to the current date for the immediacy of publishing, but I don't get why it's 1990. MinDate would've done!? My reason for asking comes from the worry that it's not an actual hard-coded value SharePoint comes with but in fact calculated in some way - in which case I'd need to know about it for what I'm developing. Thanks again, +1. –  DeeMac Aug 30 '12 at 11:40
2  
There is a similar post - stackoverflow.com/questions/1925626/… which says that if you try to insert the value 1/1/1800 in a Sharepoint Date and Time field manually (using Sharepoint forms) you receive this error: "You must specify a valid date within the range of 1/1/1900 and 12/31/8900." Therefore, SharePoint only accepts value between 1/1/1900 and 12/31/8900. That means, this could be some kind of a min date for SharePoint. :) –  Deepu Nair Aug 30 '12 at 12:22
    
Ahh thanks a lot Deepu, big help that. –  DeeMac Aug 30 '12 at 12:35
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.