Ask your own question, for FREE!
Computer Science 14 Online
OpenStudy (anonymous):

i need pseudocode for calculating the distance between two dates thank you

OpenStudy (e.mccormick):

If you look at it as Julian Time, it is going to be simple subtraction then divide the answer into days, weeks, years, whatever. However, most languages have a library that is designed specifically to deal with the oddities of calendars, such as leap years, so you use the library functions.

OpenStudy (anonymous):

ok thank you for the reply. Sorry i forgot to mention i know the c# language. any help with that? that would be great :)

OpenStudy (e.mccormick):

MS Infor on it: http://msdn.microsoft.com/en-us/library/system.datetime.aspx Some practical examples: http://www.dotnetperls.com/datetime

OpenStudy (anonymous):

hey thanks again. i found out actually.. n thanks for the articles

OpenStudy (e.mccormick):

np. Have fun!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!