|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hello I am beginner I am trying to find the difference between several dates. Here is the sample data
Date1 = 03/03/03 Date2 = 04/03/03 date3 = 05/03/03 date4 = 06/04/03 date5 = 06/15/03 date6 = 07/12/03 I need to have a field which will do the calculation if the user decides to select first two dates. Or if he/she decides to find the difference between the first and last field. |
|
#2
|
||||
|
||||
|
May depend on which database you use (I don't know what's database specific and what is SQL) but this would help in case you're using MySQL: http://www.mysql.com/doc/en/Date_an..._functions.html
__________________
There are 10 types of people in this world - those who understand binary and those who don't... PHP | MySQL | DevShed Forum Search | Google Search |
|
#3
|
|||
|
|||
|
I am using microsoft access
|
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > calculate day between dates |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|