Jump to content

asp newbie


gosu^

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...