Lines Matching refs:strftime
1 … Workflow](https://github.com/alphp/strftime/actions/workflows/php.yml/badge.svg)](https://github.…
2 … license](https://img.shields.io/github/license/alphp/strftime)](https://github.com/alphp/strftime…
3 … release](https://img.shields.io/github/release/alphp/strftime)](https://github.com/alphp/strftime…
4 …t](https://img.shields.io/packagist/v/php81_bc/strftime)](https://packagist.org/packages/php81_bc/…
5 …](https://img.shields.io/packagist/dt/php81_bc/strftime)](https://packagist.org/packages/php81_bc/…
6 …ub issues](https://img.shields.io/github/issues/alphp/strftime)](https://github.com/alphp/strftime…
7 …tHub forks](https://img.shields.io/github/forks/alphp/strftime)](https://github.com/alphp/strftime…
8 …tHub stars](https://img.shields.io/github/stars/alphp/strftime)](https://github.com/alphp/strftime…
10 # strftime chapter
11 Locale-formatted strftime using IntlDateFormatter (PHP 8.1 compatible)
13 This provides a cross-platform alternative to strftime() for when it will be removed from PHP.
48 - Add php81_bc/strftime package to your project:
50 composer require php81_bc/strftime
53 - Load the function PHP81_BC\strftime in your project
57 use function PHP81_BC\strftime;
63 - Download [php-8.1-strftime.php](https://github.com/alphp/strftime/raw/master/src/php-8.1-strftime…
64 - Load the function PHP81_BC\strftime in your project
67 require 'php-8.1-strftime.php';
68 use function PHP81_BC\strftime;
75 use function PHP81_BC\strftime;
76 echo strftime('%A %e %B %Y %X', new \DateTime('2021-09-28 00:00:00'), 'fr_FR');
84 echo \strftime('%A %e %B %Y %X', strtotime('2021-09-28 00:00:00'));