Новости | Документация | Download | Webboard | FAQ | Поиск | Контакты


JDDayOfWeek

(PHP 4, PHP 5)

JDDayOfWeekReturns the day of the week

Описание

mixed jddayofweek ( int $julianday [, int $mode= CAL_DOW_DAYNO ] )

Returns the day of the week. Can return a string or an integer depending on the mode.

Список параметров

julianday

A julian day number as integer

mode
Calendar week modes
Mode Meaning
0 (Default) Return the day number as an int (0=Sunday, 1=Monday, etc)
1 Returns string containing the day of week (English-Gregorian)
2 Return a string containing the abbreviated day of week (English-Gregorian)

Возвращаемые значения

The gregorian weekday as either an integer or string.






  Copyright Apache.ru © 1999-2017, All Rights Reserved Разработка сайта: Inside.ru  
  РЕКЛАМА НА САЙТЕ: |