PHP Salt


A little dash of PHP... my collection of php functions

Version: 2.24.1
Last Build: May 09, 2019 21:57pm (PST)

Main Menu

Home

Get PHP Salt


The Functions

array
db
file
graph
html
mail
math
misc
mobile
script
string
system
time
psDayFromDateLong()
Returns the Day (full name) of week from a simple date (04/08/2011)


Description:

Use this to extract the day of the week from a date string



Usage:

$str = psDayFromDateLong($stringDate);



Example:

	$str = psDayFromDateLong("04/08/2011"); // returns "Friday"




Code:

// example "04/08/2011" returns Friday
function psDayFromDateLong($wDate)
{
return date("l",strtotime($wDate));
}



Changlelog:


And a shot out to:

PHP - php.net
Fedora Server - getfedora.com
Shameless ads to pay for site