Get exact date of the day using vb.net
-
Hello friens, how was the day? As we all know, some people might not set their systems time and date, and program will have to get the exact date and time. Someone should show me, how to get the exact date of the day instead of the system's date using vb.net.
-
Hello friens, how was the day? As we all know, some people might not set their systems time and date, and program will have to get the exact date and time. Someone should show me, how to get the exact date of the day instead of the system's date using vb.net.
This is a VB.NET quetion, nothing to do with Visual Studio. And you can get the system time from the
DateTime.Now
[^] method call. If you want to ensure that it is the correct "world time", then ensure your PC is synchronised to a time server, or use the data feed that such systems provide.Veni, vidi, abiit domum