|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
caluclating date + 30 days . .
Hi, im having a little problem. Im using access to design an invoice system. I want code to calculate a very simple function.
A function takes a date as an argument and it adds 1 month (or 7 days) to that date and returns the date. Can anyone point me in the right direction or show me how i can code this ? Thanks in anticipation |
|
#2
|
||||
|
||||
|
Try using the Dateadd() function. You can find documentation on MSDN for it
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
|
#3
|
|||
|
|||
|
date()+30
|
|
#4
|
|||
|
|||
|
thanks, i got that sorted now
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > caluclating date + 30 days . . |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|