Forum PHP 2017

PHP Kılavuzu

Yazan:
Mehdi Achour
Friedhelm Betz
Antony Dovgal
Nuno Lopes
Hannes Magnusson
Georg Richter
Damien Seguy
Jakub Vrana
28-06-2017
Düzenleyen: Peter Cowburn
Mustafa Aldemir
Nilgün Belma Bugüner
Yücel Haluk Bugüner
Emre Çamalan
Yaşar Dereli
Faruk Enes
Behzat Erte
Alper Ersoy
Hilmi Erdem Keren
Ekin Koç
Buğra Gökalp Okçu
Cumhur Onat
Onur Özgür Özkan
Sinan Polat
Serdar Soydemir
Mesut Tunga
Aydın Uzun
Bünyamin Vıcıl
Sezer Yalçın
çeviriye katkıda bulunmuşlardır.
add a note add a note

User Contributed Notes 1 note

up
0
webtechhelp dot org at gmail dot com
7 days ago
Format a local date and time:

<?php
// Prints the day
echo date("l") . "<br>";

// Prints the day, date, month, year, time, AM or PM
echo date("l jS \of F Y h:i:s A") . "<br>";

// Prints October 3, 1975 was on a Friday
echo "Oct 3,1975 was on a ".date("l", mktime(0,0,0,10,3,1975)) . "<br>";

// Use a constant in the format parameter
echo date(DATE_RFC822) . "<br>";

// prints something like: 1975-10-03T00:00:00+00:00
echo date(DATE_ATOM,mktime(0,0,0,10,3,1975));
?>

More details on:
http://webtechhelp.org
To Top