datetime arithmetic over business calendar

  • Thread starter Massimiliano Campagnoli
  • Start date
M

Massimiliano Campagnoli

Hy All,
is there a library in C++ supporting datetime arithmetic over a given
business calendar.
For instance, a typical 8 hours shift in a company is from 8am to
12am and from 1:30pm to 5:30pm with a break interval between 12 and
1:30pm

So 11am + 2 hours should gives 2:30pm and not 12 as expected because
the time interval is not a continuum but is a sequence of working
intervals and not working intervals.

Any help is really appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,297
Latest member
EngineerD

Latest Threads

Top