jddayofweek(3) php man page | unix.com

Man Page: jddayofweek

Operating Environment: php

Section: 3

JDDAYOFWEEK(3)								 1							    JDDAYOFWEEK(3)

jddayofweek - Returns the day of the week

SYNOPSIS
mixed jddayofweek (int $julianday, [int $mode = CAL_DOW_DAYNO])
DESCRIPTION
Returns the day of the week. Can return a string or an integer depending on the mode.
PARAMETERS
o $julianday - A julian day number as integer o $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 (Eng- | | | lish-Gregorian) | | | | | 2 | | | | | | | Return a string containing the abbreviated day | | | of week (English-Gregorian) | | | | +------------+---------------------------------------------------+
RETURN VALUES
The gregorian weekday as either an integer or string. PHP Documentation Group JDDAYOFWEEK(3)
Related Man Pages
easteroj(3) - freebsd
calendar(3) - freebsd
week(3) - freebsd
easterog(3) - freebsd
weekday(3) - freebsd
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch