Is there any function to display date in the format mmm-dd-yyyy in VBScript? eg. today\'s date as Jan 22 2014?
mmm-dd-yyyy
Jan 22 2014
I tried using function
FormatDate formats a date according to the format configured in the system's regional settings. If you want a custom date format using VBScript builtins, you'd do it like this:
FormatDate
WScript.Echo MonthName(Month(Now), True) & " " & Day(Now) & " " & Year(Now)