Get host name :
System.Windows. Forms.SystemInf ormation.Comput erName
Get time/date depends if you want it a string or integer or what ever
read this or go to this site
http://msconline.macon state.edu/tutorials/VBNET/VBNET01/vbnet01-07.aspx
Property Value
DateString Returns a String value representing the current date.
DateString = 07-14-2007
Now Returns a Date value containing the current date and time.
Now = 7/14/2007 6:04:38 PM
TimeOfDay Returns a Date value containing the current time of day (the date is set to 1/1/0001).
TimeOfDay = 1/1/0001 6:04:38 PM
Timer Returns a Double value representing the number of seconds elapsed since midnight.
Timer = 65078.7415218
TimeString Returns a String value representing the current time of day.
TimeString = 18:04:38
Today Returns or sets a Date value containing the current date.
Today = 7/14/2007 12:00:00 AM
Get host name :
System.Windows. Forms.SystemInf ormation.Comput erName
Get time/date depends if you want it a string or integer or what ever
read this or go to this site
http://msconline.macon state.edu/tutorials/VBNET/VBNET01/vbnet01-07.aspx
Property Value
DateString Returns a String value representing the current date.
DateString = 07-14-2007
Now Returns a Date value containing the current date and time.
Now = 7/14/2007 6:04:38 PM
TimeOfDay Returns a Date value containing the current time of day (the date is set to 1/1/0001).
TimeOfDay = 1/1/0001 6:04:38 PM
Timer Returns a Double value representing the number of seconds elapsed since midnight.
Timer = 65078.7415218
TimeString Returns a String value representing the current time of day.
TimeString = 18:04:38
Today Returns or sets a Date value containing the current date.
Today = 7/14/2007 12:00:00 AM
Comment