CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions OneStopTesting.com - Testing EBooks, Tutorials, Articles, Jobs, Training Institutes etc.
OneStopGate.com - Gate EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopMBA.com - MBA EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopIAS.com - IAS EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopSAP.com - SAP EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopGRE.com - of GRE EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.

Sponsored Links

Interview Questions
Our Services



INTERVIEW QUESTIONS MICROSOFT DETAILS
Question :

How to find the difference between dates.(Year, Month, Day
)?

Posted by: Kunal on 5/19/2013

Contact Kunal Contact Kunal

Category Microsoft Interview Questions
Rating (3.3) By 41 users
Added on 5/19/2013
Views 779
Rate it!


Answers:

Source: CoolInterview.com

Year is that nos which is not changed for atleast 12 month.
Month is that nos which is stable at least 30 days.
And the Day is that no. which is always change with every morning.
thats it.
Source: CoolInterview.com



Posted by: Amol Kulkarni

Contact Amol Kulkarni Contact Amol Kulkarni

Source: CoolInterview.com

date1= d1 | m1 | y1
date2= d2 | m2 | y2

differnce ::
y= y2 - y1
m= m2 - m1
d= d2 - d1
if( d < 0 )
{ d = (days in m1 i.e 28 or 29
or 30 or 31) -d1 + d2;
m = m -1 ;
}
if(m < 0)
{ m = 12 + m ;
y = y - 1;
}
Source: CoolInterview.com



Posted by: brijendra kumar

Contact brijendra kumar Contact brijendra kumar

Source: CoolInterview.com

365(or)366 are year,1 day is a day,7 days are 1 week
Source: CoolInterview.com



Posted by: u.shivarajkumar

Contact u.shivarajkumar Contact u.shivarajkumar

Source: CoolInterview.com

Do work day on(date) & collect mony end of the month then u see end of the year u also happy in our life that means (DATE/MONTH/YEAR)
Source: CoolInterview.com



Posted by: Trupti c.Berde

Contact Trupti c.Berde Contact Trupti c.Berde

Source: CoolInterview.com

year is that nos which is not changed for atleast 12 month.
Month is that nos which is stable at least 30 days.
And the Day is that no. which is always change with every morning.
thats it.

Source: CoolInterview.com



Posted by: kavitha

Contact kavitha Contact kavitha

Source: CoolInterview.com

Year is that nos which is not changed for atleast 12 month.
Month is that nos which is stable at least 30 days.
And the Day is that no. which is always change with every morning.
thats it.


Source: CoolInterview.com



Posted by: sourabh jain

Contact sourabh jain Contact sourabh jain

If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification Enter the above shown code: *
Inform me about updated answers to this question

Related Questions
View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View ALL Microsoft Interview Questions & Answers



User Options
India News Network

Latest 20 Questions
What are the due dates for filing of wealth tax returns?
Under wealth tax what is net wealth?
Who is liable to file wealth tax returns?
What is the fine for not/late filing of wealth tax returns?
How much wealth tax was collected in the last fiscal?
Where should taxpayers furnish all the particulars which were hitherto submitted in wealth tax returns?
What was the main reason cited by the finance minister to abolish the wealth tax?
Can resident taxpayers hold assets within or outside India sans disclosures as a result of abolition of wealth tax?
Is it mandatory to file Wealth Tax returns online only?
What was Wealth Tax rate?
How Wealth Tax was calculated?
What are the Wealth Tax Exemptions/Limits?
What are the assets which were covered under wealth tax?
Who does wealth tax apply to or who has to pay wealth tax and how is it applied?
How is Surcharge Calculated?
What has replaced Wealth Tax and will it make super rich pay more or less?
What is the impact of abolishing Wealth Tax, on Super-Rich Taxpayers?
Why has Wealth Tax been abolished?
What?s the difference between Income Tax and Wealth Tax?
What is the significance of Wealth Tax?



Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions



Cache = 0.003906 Seconds