you can determine whether a particular year is a leap year or not with the help of IsLeapYear method.
you can use this method as:
Continue reading “How to know that the specified year is a leap year or not in vb.net”
Tag: DateTime
How to get the number of the days in the specified month
Today i am introducing the DaysInmonth() function to you that is the member of the System.date. With the help of this function you can find the count of the days in the specified month of the specified year.
Continue reading “How to get the number of the days in the specified month”
Display current time in vb.net
The following example uses the DateTime
class to retrieve the current time. It also illustrates how a DateTime
value can be formatted using some of the standard time format strings. Continue reading “Display current time in vb.net”