Mar 102008
 

Now.exe is a small utility in Windows 2000, Windows XP, Windows 2003 and later on. As the filename implies, all it does is to show the Current Time,Day,Date,Month and Year. This is different from the “date.exe” where it is actually to set the date of your PC or Server.

The main difference is that if you are a developer or an admin writing a batch file then it is ideally a good idea to use now.exe to print the current time on the log or results files.

Take a look at the output of the now.exe & date.exe utilities

C:\Documents and Settings\user>now

Mon Mar 10 20:00:45 2008

C:\Documents and Settings\user>date
The current date is: 10/03/2008
Enter the new date: (dd-mm-yy)

You can also use the @echo command to display the current date as follows:

C:\Documents and Settings\user>@echo.|date|find /i “current”
The current date is: 10/03/2008

Incoming search terms:

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>