Dear Bodies!
I am developing a Cold Store Managemen system. I need to count days according to dates.for example 5 ton petato put in cold store room on 01/12/2013 .when i exit this 5 ton peteto on 10/12/2013 system should show me that 10 days i have to charge ?
zebnoon
-6
Junior Poster
Recommended Answers
Jump to PostHello!
Please elaborate as to which programming language you are using. There are many ways to count the number of days between two dates, but we can not give any if we don't know your desired language!
Jump to PostYou need to look into using the DateDiff Function.
You will receive the day value by passing in the day interval and your two dates.
DateDiff(DateInterval.Day,dtStart,Now()) 'Will return number of …
All 5 Replies
Begginnerdev
256
Junior Poster
zebnoon
-6
Junior Poster
zebnoon
-6
Junior Poster
Begginnerdev
256
Junior Poster
zebnoon
-6
Junior Poster
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.