Skip to content

cDate::_weekday()

Rainer Stötter edited this page May 9, 2017 · 1 revision

Method _weekday( )

 protected   integer libdatephp\cDate::_weekday($month, $day, $year)

_weekday( ) calculates the actual weekday for a given month, day and year

Arguments

  • $month mixed
  • $day mixed
  • $year mixed

Returns

integer the weekday - 0 = sunday, 1 = monday .. 6 = saturday

See also

Clone this wiki locally