greetings!

anybody know how to set the system date value. like for example today date is 11/22/2007 i want to set this date into a new value one month ahead it should be 12/22/2007. THANK YOU IN ADVANCE

Recommended Answers

All 3 Replies

Hi,

Just use this :

Date = CDate("12/22/2007")

Regards
Veena

Use the date add function
like this:

Dim strDate as Date
 
strNewDate=DateAdd("m", 1, strDate)

Just change the no.if how many do you want......
Okie?

i would like to ask if there's a activeX for date function. like when a user will set for the date?

like there's a textbox that
has dd/mm/yyyy that a user could set?

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.