Phantom Documentation

[Help Home] [Phantom Home]
GetDayOfWeek

int GetDayOfWeek()

Return Type: int
Parameters: none

Description:
This function returns an integer representing the current local (computer) day of the week. The numbers are as follows:



1 = Sunday
2 = Monday
3 = Tuesday
4 = Wednesday
5 = Thursday
6 = Friday
7 = Saturday


Example Code
1 >>disp(GetDayOfWeek());
6


 




Copyright 2000-2011 Phantom Automated Solutions