Thread: Date
View Single Post
Old 06-24-2009   #2 (permalink)
Richard Mueller [MVP]


 
 

Re: Date

Larry wrote:
Quote:

> Is there a vbs code that returns today's date?
>
> I want to return the date in the form, "June 24" (no year).
>
The Now() function returns the current date/time. You can use other
functions to format as desired. For example:

Wscript.Echo MonthName(Month(Now())) & " " & Day(Now())

Displays the current date in the format you requested.

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


My System SpecsSystem Spec