cancel
Showing results for 
Search instead for 
Did you mean: 

NWEngine function for date

Former Member
0 Kudos

Is there a list of nwengine functions anywhere? I take it to be a VBscript capable, but there's no guide on how to get it to do simple things like date and time in any of the sample scripts. It is unable to resolve the %date% and %time% variables,

NwEngine.Variables.ResolveString("%date%")

yet it resolves other variable successfully,

NwEngine.Variables.ResolveString("%windir%\saplogon.ini")

NwEngine.Variables.ResolveString("%username%")

What gives?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dim MyTime

MyTime = CStr(Time) ' Return current system time.

Dim MyDate

MyDate = CStr(Date) ' MyDate contains the current system date.