|
-
July 13th, 2005, 11:28 AM
#1
Change system date & time
Hi;
How can i change system date & time. I can do this in vb6 with
Date = cdate("07/13/2005")
And another question, how can i take 30 days to a date. In vb6 i can do it like this
dim Fecha as date
Fecha = date - 30
This way's does not work in .Net.
Please any help
-
July 13th, 2005, 01:59 PM
#2
Re: Change system date & time
Use Add, AddDays, etc. methods of the Date Class.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|