Skip to main content

PIWeekDay Method

Represents the day of the week corresponding to current time.

Definition​

Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)

C#

public static int PIWeekDay()

VB

Public Shared Function PIWeekDay As Integer

Return Value​

Int32
The day of the week, expressed as a value from 1 to 7 (Sunday=1, Monday=2 and so on).

See Also​

Reference​

PIACEBIFunctions Class
PIWeekDay Overload
GHost.GSharp.PI.ACE Namespace