Date Function: Handling Dates in Php | PHP Tutorial #17

preview_player
Показать описание

Best Hindi Videos For Learning Programming:



►C Language Complete Course In Hindi -

►JavaScript Complete Course In Hindi -



►Django Complete Course In Hindi -






Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

1. echo date("l");
2. echo date("l jS \of F Y h:i:s A");
3. echo date("d/m/Y");

Brandwins
Автор

<?php
echo "Harry bhai dil♥️dedo";
?>

GeekyShubhamSharma
Автор

1. for date ---> echo date('h:i:s');
2. for escaping charactors ----> echo date('l \t\h\e jS');
3. for confugring the time zone --->

jashan
Автор

Bhai you are best....
Aap jese log hoo too coaching me paise kharch krne kee jarurat nhiii hee...

hitanshugupta
Автор

Maja aa gya iss tutorial me, thanku bhaiya❤️❤️

rohangarg
Автор

Best part of the video is from 0:00 to 13:09 ❤❤❤

omgupta
Автор

gajab ittefak hAI main 1sal bad course kar rha hu firbhi aj thursday hai

rohitjoyswal
Автор

You are Great Teacher, Harry Bhaiii... 1T from Pakistan

soccerhd
Автор

// 3 examples with date and time
// first
// echo date("F jS Y, h:i:s e");

// second
// echo date("d-m-Y, h:i A e");

// third
echo date("z");
echo " days are over of this year what things you learned in this time or NOthing?"

madhavkwatra
Автор

Thanks a lot Bhaiya, Yes I am enjoying this Playlist

samuelfrank
Автор

1. echo date("Y/m/d");
2. echo date("l, F j, Y");
3. echo date("h:i:s A");

ojaswijoshi
Автор

For Indian Standard time I had to set my time first in PHP code
as:



$today = date(" dS F Y h:i:s A");
echo "<br>";
echo "Today date: $today <br>";

// Output: 29th November 2023 05:10:39 PM

// " h:i:s A" gives Hours:Minutes:Seconds AM/PM
// a gives Lower case am pm
// h (lower case h) gives 12 hours time
// H gives 24 Hours Time (Railway Time )

shivsharma
Автор

1). $d = date("D, d, y"); // this is my first method of writing
echo " $d";
2). $Clander = date("l, F, Y"); // second method.
echo "$Clander";
3). $Clan = date("W, m, y"); // Third method.
echo "$Clan";

TaimoorPathan-bk
Автор

1)
$ d = date("l"); //for printing the day
echo "Today is $d"
2)
$s = date(" dS n Y ");//for printing date day year format
echo "Today's date is $s";
3)
$a = date("dS n y, g:i A"); //for printing date day year and time including am or pm format
echo "Today's date is $a";

kushaly
Автор

Harry Bhai plz we want to learn about the data base....of Google firebase

theneelone
Автор

<? php

// Quiz:- Post at least 3 examples of dates in PHP

echo "Welcome to the world of DateTime: <br>";
$Date1 = date('dS F, o');
echo "1. Today Date is : $Date1 <br>";

$Date2 = date('h:i:s A');
echo "2. Now Time is : $Date2 <br>";

$Date3 = date('h:i:s A, l, d-m-o ');
echo "3. Now TimeDayDate is : $Date3 <br>";

?>

mehedihassan
Автор

Harry bhai continue the c++ course as it is very important for me to learn the C++ specially the stl of C++ for competitive programming. Plzz it's a Request

shubhamsamrat
Автор

echo date("d F y h:i:s A");
12 January 24 5:13:20 AM

echo date("jS F Y H:i:s");
20th December 2024 16:12:20

echo date("d/m/y l h:i:s a");
05/12/24 Thursday 2:28:56 pm

I post this comment without running the program so if I wrong please correct me and mention the error..

abhishekkapoor
Автор

Thanku ❤️❤️ ...you are such a nice guy ❤️❤️❤️😀😀

simrankumariofficial
Автор

Nobody:
Harry bhai in 2020:
Agar 2021 aayega kabhi 😂😂

sakshamchaturvedi