|
Technical Interview Questions
Visual Basic Interview Question
.NET Web Interview Questions
.NET
Interview Questions
C#
Interview Questions
.........More
Source Codes
Asp .NET Source Codes
Asp VB Script Source Codes
.........More
Soft Skills
Communication Skills
Leadership Skills
.........More
|
|
Asp/VB Script Source Codes
Date Part
Day
Today is <%=Day(Date)%>
Outputs as : Today is 7
Week
This is week # <%= DatePart("ww",date)%> of the this year
Outputs as : This is week # 7 of this year
This is weekday <%= WeekDay(Date)%> of this year
Outputs as : This is weekday 2 of this year
Today is <%=WeekDayName(WeekDay(Date))%>
Outputs as : Today is Monday
Month
The month Now is <%=Month(Date)%>
Outputs : The month Now is 2
Another way, of saying the current month is <%=(DatePart("m",date))%>
Outputs : Another way, of saying the current month is 2
The MonthName is <%=MonthName(Month(Date))%>
Outputs : The MonthName is February
Year
The year is <%=Year(Date)%>
Outputs : The year is 2000
<<<----- Return to
Asp/VB Script Source
Code Questions Page.
Have a Question ?
post your questions here. It
will be answered as soon as possible.
Check
Microsoft .Net Interview Questions
for more Microsoft
.Net Interview Questions with Answers.
Check
.Net Database Interview
Questions for more .Net Database Interview Questions with answers
Check
Job Interview Questions
for more Interview Questions with Answers
|