Buy Questpond's video subscriptions on
huge discount
.
Online: 1236
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
VB.NET
>
Loading ...
What is the output of dt variable in below code?
Dim dt As Date = DateAdd(DateInterval.Year,1,Date.Now())
Posted by
vishalneeraj-24503
on 12/24/2013 | Category:
VB.NET Interview questions
| Views: 2439 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
Output would be
12/24/2014 2:33:08 PM
.
As we have supplied
DateInterval.Year
Enum value,so it will add 1 year in current year,that will be 2014.
And also as Date.Now() means current date and time.
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
What is the output of below code? Dim dt As Dat ...
Next > :
How to Count how many Sessions are used in an Appl ...
Comments or Responses
Login to post response
More Interview Questions by vishalneeraj-24503
How to Count how many Sessions are used in an Applications?
What is the output of below code? Dim dt As Date = DateAdd(DateInte ...
What is the result of email-id variable used in below code? Session ...
How to remove item or key at specified position in Session?
What is the use of Add method of Session variable in Asp.net?
What is an alternate way to clear all the keys and values from Session ...
How many ways to remove items or keys from Session?
How to remove values from Session?
Latest Interview Questions
How to get the list of tables in a database and also the size of which ...
Your developing web application which access data from a MS sql and ha ...
Differences between ISNULL and NULLIF ?
What will be output of following function when called? public strin ...
How to assign a value to a textbox through javascript?
DB2 - Display the employee details who are working from more than 1 an ...
DB2 - Fetch the current date and time in the following format 24/APR ...
DB2 - Find the NAMEs that have an even number of letters in them
More ...