gosu^ Posted December 6, 2005 Share Posted December 6, 2005 hey dudes and dudets.just started out on some basic time/ date asp ive figured out how to tell the exact time date in hour/minutes/seconds format and day/month/year format depending on which i want and writen it a html stream.now i've been asked to figure out how to add stuff (math) so like say what the date will be in 3 days time. anyone help, im a bit stuck?thanks dudes/dudets Link to comment Share on other sites More sharing options...
denny911 Posted December 6, 2005 Share Posted December 6, 2005 now i've been asked to figure out how to add stuff (math) so like say what the date will be in 3 days time. i'm not sure that i understood what you want to do? Link to comment Share on other sites More sharing options...
Jerome Posted December 6, 2005 Share Posted December 6, 2005 hi!Try this : Dim timeNowtimeNow = nowResponse.Write(DateAdd("d",1,timeNow)) I'm adding 1 day to the actual time. You can switch with h (hours), m (months), n (minutes), s (seconds) and yyyy (years)! Link to comment Share on other sites More sharing options...
gosu^ Posted December 6, 2005 Author Share Posted December 6, 2005 hi!Try this : Dim timeNowtimeNow = nowResponse.Write(DateAdd("d",1,timeNow)) I'm adding 1 day to the actual time. You can switch with h (hours), m (months), n (minutes), s (seconds) and yyyy (years)! <{POST_SNAPBACK}> ta jerome, ive actually figured out anouther way of doing it: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now