Answers for "get only first 3 characters day name php"

PHP
28

php get first 5 characters of string

$result = substr("Hello How are you", 0, 5); //first 5 chars "Hello"
Posted by: Guest on February-12-2020
0

show only 3 initial letter of month in php

$dt = DateTime::createFromFormat('!d/m/Y', '24/12/2013');
echo strtoupper($dt->format('j M')); # 24 DEC
Posted by: Guest on June-16-2021

Code answers related to "get only first 3 characters day name php"

Browse Popular Code Answers by Language