Changes

Jump to: navigation, search

Working with Dates and Times in Visual Basic

301 bytes added, 19:26, 2 August 2007
Adjusting a Date or Time
<td>DateInterval.Year<td>Year</td>
</table>
 
For example, the following code will return a date one month into the future from the specified date:
 
<pre>
DateAdd(DateInterval.Month, 1, #8/2/2006#)
</pre>
 
The following code excerpt returns a date one week previous to the specified date:
 
<pre>
DateAdd(DateInterval.Week, -1, #8/2/2006#)
</pre>

Navigation menu