php man page for jddayofweek

Query: jddayofweek

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
ndaysj(3) - freebsd
easteroj(3) - freebsd
gdate(3) - freebsd
gregoriantojd(3) - php
intlcalendar.setfirstdayofweek(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
UNIX.COM 2017 Year End Summary
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!