Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 27th, 2007, 02:24 AM
Authorized User
Join Date: Nov 2003
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I set system time & date in VB.net ?

Does anyone know ? It seems a (stupid) simple question, yet browsing the Internet produced no useful answer. ????

One guy suggested using the good old APIs. If this is the only way, I'll switch sides and become a Linux/C++ developer .


Old April 27th, 2007, 10:00 AM
Friend of Wrox
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

What do you have against APIs? They can really be helpful.

But you might try:
    Shell "Time 8:12a"
See http://msdn2.microsoft.com/en-us/library/ms724942.aspx

Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert System date and System Time -Form _TextBox cnkumar74 VB How-To 14 February 14th, 2007 10:52 AM
HOW CAN SYSTEM DATE N TIME BE CAPTURED IN A TXTBOX cnkumar74 VB Databases Basics 6 February 14th, 2007 02:09 AM
how to set up system time for SQL 2000 rainman12 SQL Server 2000 1 October 31st, 2005 09:09 AM
how to set up system time as default for SQL 2000 rainman12 SQL Server 2000 0 October 28th, 2005 10:14 PM
insert system date. no date and time jimmy Access VBA 6 November 20th, 2003 01:11 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.