Novell is now a part of Micro Focus

How do I get the day of week...

Articles and Tips: qna

01 Jan 2003


Q.

How do I get the day of week via Novell Script?

A.

Use the DatePart function. You can find it at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsfctdatepart.asp

WeekDayInt = DatePart( "w",
		inputDateTime )
	
if WeekDayInt = 6 then
	'Do Friday stuff
end if

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates