VB.NET’s DateTime anatomy represents an burning in time and is usually bidding as a accurate date and time of the day. DateTime comes in accessible whenever you charge to actuate the system’s date and time; it aswell performs assorted operations on date/time variables. In this article, I appearance how to advance DateTime backdrop and methods so you can plan with DateTime ethics in VB.NET.
Here are listings of the a lot of frequently acclimated backdrop and methods of the DateTime structure.
Properties:
-
Date: allotment the date basic of the DateTime value.
-
Day: allotment the day of the ages basic of the DateTime value.
-
DayOfWeek: allotment the day of the anniversary basic of the DateTime value.
-
DayOfYear: allotment the day of the year basic of the DateTime value.
-
Hour: allotment the hour basic of the DateTime value.
-
Millisecond: allotment the milliseconds basic of the DateTime value.
-
Minute: allotment the minute basic of the DateTime value.
-
Month: allotment the ages basic of the DateTime value.
-
Now: allotment a DateTime amount that is the accepted bounded date and time on this computer.
-
Second: allotment the abnormal basic of the DateTime value.
-
TimeOfDay: allotment the time of day of the DateTime value.
-
Today: allotment the accepted arrangement date.
-
UtcNow: allotment a DateTime amount that is the accepted bounded date and time on this computer bidding as the Coordinated Universal Time (UTC).
-
Year: allotment the year basic of the DateTime value.
Methods :
-
Add: adds the amount of the defined TimeSpan to the DateTime value.
-
AddDays: adds the defined amount of canicule to the DateTime value.
-
AddHours: adds the defined amount of hours to the DateTime value.
-
AddMilliseconds: adds the defined amount of milliseconds to the DateTime value.
-
AddMinutes: adds the defined amount of account to the DateTime value.
-
AddMonths: adds the defined amount of months to the DateTime value.
-
AddSeconds: adds the defined amount of abnormal to the DateTime value.
-
AddYears: adds the defined amount of years to the DateTime value.
-
DaysInMonth: allotment the amount of canicule in the defined ages of the defined year.
-
IsLeapYear: allotment an adumbration of whether the defined year is a bound year.
-
Subtract: subtracts the defined time or continuance from the DateTime value.
-
ToLocalTime: converts the accepted Coordinated Universal Time (UTC) to bounded time.
-
ToLongDateString: converts the amount of this instance to its agnate continued date cord representation.
-
ToLongTimeString: converts the amount of this instance to its agnate continued time cord representation.
-
ToShortDateString: converts the amount of this instance to its agnate abbreviate date cord representation.
-
ToShortTimeString: converts the amount of this instance to its agnate abbreviate time cord representation.
-
ToUniversalTime: converts the accepted bounded time to Coordinated Universal Time (UTC).


If sometime you wite code in VB and you will find data into database that’s empty (read Null) and that’s maybe a big problem. Why you not insert some character to make the data field in data row sorted not null…? maybe you have some reason that make it cannot applicated into data storage. You can try solution with ISNULL() Function.
I you your Ubuntu Box upgraded to hardy and rebooted. When you log in to Gnome, a Nautilus window flashes up and quickly disappears about ten times. There are no icons on the desktop. When I try to start Nautilus from the terminal and you may get:
If you use the InnoDB storage engine for (some of) your MySQL tables, you’ve probably already came across a problem with its default configuration. As you may have noticed in your MySQL’s data directory lies a file called ‘innodb1?. It holds almost all the InnoDB data of the MySQL instance and could get quite big. Unfortunately, by design InnoDB data files can’t be shrinked. That’s why DELETEs, TRUNCATEs, DROPs, etc. can’t will not reclaim the space used by the file. Instead any freed regions are marked as unused and can be used later. Theoretically speaking the file could reach the maximum size allowed by the filesystem if no limit is set in the my.cnf file. Guess what ? It’s not set by default. However you can configure your InnoDB engine as described MySQL’s 




