Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Difference between two date

$
0
0

Greetings,

I need the difference between two date in the unit [days]:

Date1 = ActiveProject.ProjectStart
Date2 = t.Start

e.g.

Day Start=8:00; Day End=17:00; Break: 12:00-13:00; HouresPerDay=8
Date1= 1. Jan. 2014 8:00
Date2= 3. Jan. 2014 12:00  ==> Difference is 2.5 days

Day Start=8:00; Day End=18:00; Break 10:00-16:00 HouresPerDay=4
Date1= 1. Jan. 2014 9:00
Date2= 3. Jan. 2014 18:00  ==> Difference is 2.75 days

Exist here a function in MS-Project VB.NET?

Is therea functioninMS-Project,whichalso takes the settings in the parameter?

Thank you!

  Michael


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>