Hi all,

I am creating a Library Management System.

I have used the timestamp to calculate the Date Difference and with the help of date difference I am calculating the Fine also.

Now this date difference includes all days in a week. But for a library application fine should be charged only for 6 days(Mon - Sat) in Week.

I am not able to do this.

Can anyone help me out in performing this task?

Thanks in advance!!

Recommended Answers

All 2 Replies

Reading this might help : info

the attached may help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.