Tribe__Date_Utils::is_weekday( $curdate )
Returns true if the timestamp is a weekday.
Contents
Parameters
- $curDate
-
(int) (Required) A timestamp.
Return
(bool) If the timestamp is a weekday.
Source
File: src/Tribe/Date_Utils.php
public static function is_weekday( $curdate ) { return in_array( date( 'N', $curdate ), array( 1, 2, 3, 4, 5 ) ); }