Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php date list

date("d"); //Day of month: 09
date("j"); //Day of month without 0: 9
date("jS"): //Day of month with "th": 21th
date("D"): //Day of week abbreviated: Thu
date("l"): //Day of week: Thursday
date("z"); //Day of the year: 110
date("t"); //Number of days in given month: 30
date("m"); //Month number: 04
date("n"); //Month number without 0: 4
date("M"); //Month name abbreviated: Apr
date("F"); //Month name: April
date("Y"); //Year: 2022
date("y"); //Last 2 digits of year: 22
date("o"); //ISO Year number: 2022
date("h"); //Hour (12 fomrat): 02
date("H"); //Hour (24 fomrat): 14
date("g"); //Hour without 0 (12 fomrat): 2
date("G"); //Hour without 0 (24 fomrat): 14
date("i"); //Minutes: 29
date("s"); //Seconds: 24
date("u"); //Microseconds: 33
date("a"); //am or pm
date("A"); //AM or PM
date("e"); //Timezone identifier: UTC
Comment

PREVIOUS NEXT
Code Example
Php :: php radians to degrees 
Php :: php static variable 
Php :: Codeigniter 3 Get future date recocords - upcoming records from database 
Php :: Session/Session.php error codeigniter 3 
Php :: url segment in laravel 
Php :: - in php 
Php :: pmxi_gallery_image 
Php :: laravel faker select between options 
Php :: drop table phpmyadmin 
Php :: ?? php 
Php :: enum in migration laravel 
Php :: how to add column to database in laravel 
Php :: html pagination php 
Php :: picture on picture php 
Php :: livewire call another component 
Php :: drupal get node id from twig 
Php :: array push in php 
Php :: laravel validation required if 
Php :: configuration laravel dompdf 
Php :: php Program to check if a given year is leap year 
Php :: signup form in php 
Php :: substr php 
Php :: laravel 8 seeding 
Php :: laravel sharing record 
Php :: Hide Add to cart button on specific products 
Php :: import data from csv to db php 
Php :: validate names regex php 
Php :: bootstrap is not defined in laravel 
Php :: get data without pivot relation laravel 
Php :: epoch conversion php 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =