Time and Date units used in DateAdd
The following strings are valid for the first argument of the DateAdd function.
- yyyy - year
- q - quarter year
- m - month
- y - day of year
- d - day
- w - weekday
- ww - week of year
- h - hour
- m - minute
- s - second
ASP.NET compared to ASP Classic
ASP.NET attempts to simplify developers' transition from Windows application development to web development by offering the ability to build pages composed of controls similar to a Windows user interface. A web control, such as a button or label, functions in very much the same way as its Windows counterpart: code can assign its properties and respond to its events.
Controls know how to render themselves: whereas Windows controls draw themselves to the screen, web controls produce segments of HTML and JavaScript which form part of the resulting page sent to the end-user's browser.