Google Search

Google
 

Friday, June 1, 2007

Date Time

Dim dtNow As DateTime = DateTime.Now

'Date OutPut : 6/1/2007 2:53:10 PM
Response.Write("
Date Time :" + dtNow)

'Long Date : Friday, June 01, 2007
Response.Write("
Long Date :" & dtNow.ToLongDateString())

'Short Date : 6/1/2007
Response.Write("
Short Date :" & dtNow.ToShortDateString())

'Long Time : 2:53:10 PM
Response.Write("
Long Time :" & dtNow.ToLongTimeString())

'Short Time : 2:53 PM
Response.Write("
Short Time :" & dtNow.ToShortTimeString())

'Day Of Week : Friday
Response.Write("
Day Of Week : " & dtNow.DayOfWeek.ToString)

'Day Of Year : 152
Response.Write("
Day Of Week : " & dtNow.DayOfYear.ToString)


Dim nowdayofweek As Integer = dtNow.DayOfWeek
Dim weekStartDate, weekEndDate As DateTime

weekStartDate = DateAdd("d", 0 - dtNow.DayOfWeek, dtNow)
weekEndDate = DateAdd("d", 6 - dtNow.DayOfWeek, dtNow)

'Displays first day of the week : 03/18/2007
Response.Write("
Start Date-->" & weekStartDate.ToString("MM/dd/yyyy"))

'Displays last day of the week : 03/24/2007
Response.Write("
End Date-->" & weekEndDate.ToString("MM/dd/yyyy"))

4 comments:

Cheap Tap said...

know this: If Cheap Taps is not resolved, you can choose a regular point of the brand. General formal goods are manufacturers of brand identity, and some Waterfall Taps product or some quality time products are often pasted some paper labels only, even without any markings, be sure to pay attention to when buying Kitchen Sink Taps.

Anonymous said...

күріш суп
күріш суп
lкүріш суп
күріш суп
қадам
жаңа студенттер
Мектеп
жұмыс істеуге өту
жұмыс істеуге өту
жұмыс істеуге өту
Турагенттік
жұмыс істеуге өту
Мектеп
жұмыс істеуге өту
Турагенттік
Турагенттік
Турагенттік
жұмыс істеуге өту
Турагенттік
Мектеп
жұмыс істеуге өту
жұмыс істеуге өту
Турагенттік
жұмыс істеуге өту
жұмыс істеуге өту
Турагенттік
Турагенттік
Мектеп

Tree Ple said...

baby oil
pan
plate
rice ladle
bucket
glass
basin
powder
lotion
spoon
watch
shoe
slippers
tire
egg
hat
cigarette
hangers
veil
strange people
crazy
dish rack
helmets
doll
shampoo
soap
bread
cake
cheese
chicken
bra
shorts
bag
book
scissors
knife
towel
cable
roof tile
flower
balm
light
car
scissors
ashtray
fan
stove
sheath
broom
duster
baby oil
pan
plate
rice ladle
bucket
glass
basin
powder
lotion
spoon
watch
shoe

Rani said...

obat wasir untuk ibu menyusui | obat wasir untuk orang hamil | obat wasir untuk wanita hamil | obat wasir utk ibu menyusui | obat wasir wanita | obat wasir wanita hamil | obat wasir yang ada di apotik | obat wasir yang aman | obat wasir yang aman untuk ibu hamil