473,471 Members | 4,095 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

difference between values accoring to dates

if i have a table with dates and nr ie:

1-11-10 - 300
2-11-10 - 400
3-11-10 - 500

how is the smartest way to find out the difference of 2 numbers by entering the according 2 dates

ie from: 2-11-10 (400)
to : 3-11-10 (500), it sould come out 100.

i can enter the previous date (with calculatedate -1) but i can not enter the according date of it, and then calculate the difference.
thanks in advance
Nov 16 '10 #1
1 925
NeoPa
32,556 Recognized Expert Moderator MVP
Not much info to work with here Anna, but basically you would subtract one from the other. If I try to provide anything more helpful I keep coming up against the lack of usable detail to work with.

I'm sure we can be more help, but you'd need to explain the question better first.
Nov 17 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Prafull Soni | last post by:
hi Can anyone give me program to find difference between two dates? thanks Prafull Soni
6
by: Ashish Sheth | last post by:
Hi All, In C#, How can I get the difference between two dates in number of months? I tried to use the Substract method of the DateTime class and it is giving me the difference in TimeSpan,From...
3
by: Steve Weixel | last post by:
I'm having problems getting dates to format the way that I need them to. The problem is that I'm used to the VB6 way of doing things, with which the statement Format(37866, "dd MMM yyyy") would...
0
by: Claes at work | last post by:
Hi, I am learning Python and want to perform what I think is a very simple task: calculating the difference between two dates in seconds. Reading through the documentation I am puzzled: I can't...
0
by: seyed | last post by:
how to get the difference between two dates ,excluding weekends in ms sql? i using asp.net , if u all noe any other solution , please reply
8
by: Claudia Fong | last post by:
Hi, In VB we have DateDiff to calculate the days difference between 2 dates, I was wondering if we have something like that in C#? I want to calculate for example the days difference...
5
by: Mike | last post by:
I use c#, V2005 How I can get difference between two dates and get value in month(s) I had found some solutions but it is not exactly what I need. private static int...
9
by: Vinod11 | last post by:
Hi, I need to find out the difference between two dates and both the dates are provided by the user. Please can someone help me on this..Need it urgently !!! Ex: Date1 : 2007/12/26 Date2:...
4
by: nityaprashant | last post by:
Hello.. i have two dates one is trdate e.g. "2008-02-20 12:55:25.000" (sql server format) another one is currdate system current time (date.now) if time passed more than 30 minutes than trdate...
2
by: Shamim1983 | last post by:
I want to find difference between 2 dates in number of months using GregorianCalendar utility. I want it to work fine considering the year having 28, 29, 30 or 31 days in month. It should give me...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.