Search
 
SCRIPT & CODE EXAMPLE
 

PHP

gmdate in php

<?php
// PHP program to illustrate gmdate function
// display date Jun 25 2018 23:21:50
echo gmdate("M d Y H:i:s", mktime(23, 21, 50, 6, 25, 2018)) ."
";

// display date  World Wide Web Consortium
// 2018-06-25T23:21:50+00:00
echo gmdate(DATE_W3C, mktime(23, 21, 50, 6, 25, 2018)). "
";

// display date as ISO-8601 format
echo gmdate(DATE_ISO8601, mktime(23, 21, 50, 6, 25, 2018)). "
";
?>
Comment

PREVIOUS NEXT
Code Example
Php :: laravel model casts 
Php :: laravel count group by date 
Php :: laravel database get all 
Php :: php find part of string in array 
Php :: laravel 8 insert multiple rows 
Php :: php check undefined offset 
Php :: In PackageManifest.php line 122: 
Php :: php remove last newline from string 
Php :: php weekdays 
Php :: how to change date formate in laravel 
Php :: php money_format currency symbol 
Php :: get value from json laravel 
Php :: php initialize array 
Php :: json_decode object to array 
Php :: how to use postgresql with laravel 
Php :: get slogan wp 
Php :: get data in array formate in Laravel 
Php :: php check string is int 
Php :: laravel collection search by value 
Php :: laravel model update 
Php :: Str laravel 9 
Php :: php cloudflare get country from IP 
Php :: wordpress register post type 
Php :: php scandir 
Php :: php year from date 
Php :: laravel redirect to intended page after register 
Php :: why do we use php exceptions 
Php :: laravel change foreign key name 
Php :: how see the list all artisan in laravel 
Php :: yii2 html a 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =