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

  Рет қаралды 124,043

CodeWithHarry

CodeWithHarry

Күн бұрын

Пікірлер: 263
@RohanDasRD
@RohanDasRD 4 жыл бұрын
East or west Harry Bhai is best
@Brandwins
@Brandwins 3 жыл бұрын
1. echo date("l"); 2. echo date("l jS \of F Y h:i:s A"); 3. echo date("d/m/Y");
@jashan0924
@jashan0924 3 жыл бұрын
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 ---> date_default_timezone_set('UTC');
@abdullahsworld-p6o
@abdullahsworld-p6o Жыл бұрын
Actually you wrote it wrong the one is not for date it's for time. Well it's 2 year ago maybe you reply or not?
@GeekyShubhamSharma
@GeekyShubhamSharma 4 жыл бұрын
@rohangarg6387
@rohangarg6387 4 жыл бұрын
Maja aa gya iss tutorial me ,thanku bhaiya❤️❤️
@soccerhd09
@soccerhd09 4 жыл бұрын
You are Great Teacher, Harry Bhaiii... 1T likesssssss from Pakistan
@ishikasirohi2278
@ishikasirohi2278 3 жыл бұрын
You are exceptional.😍
@rohitjoyswal5670
@rohitjoyswal5670 3 жыл бұрын
gajab ittefak hAI main 1sal bad course kar rha hu firbhi aj thursday hai
@shubhamsamrat610
@shubhamsamrat610 4 жыл бұрын
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
@samuelfrank1369
@samuelfrank1369 2 жыл бұрын
Thanks a lot Bhaiya, Yes I am enjoying this Playlist
@hitanshugupta14
@hitanshugupta14 4 жыл бұрын
Bhai you are best.... Aap jese log hoo too coaching me paise kharch krne kee jarurat nhiii hee...
@madhavkwatra5888
@madhavkwatra5888 3 жыл бұрын
// 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?"
@omgupta8594
@omgupta8594 4 жыл бұрын
Best part of the video is from 0:00 to 13:09 ❤❤❤
@muhammadmakki9240
@muhammadmakki9240 4 жыл бұрын
This Course Is UseFull
@mahbobalam4430
@mahbobalam4430 4 жыл бұрын
Harry vai ap best hoo. ❤❤❤❤❤❤❤❤
@shivsharma3918
@shivsharma3918 Жыл бұрын
For Indian Standard time I had to set my time first in PHP code as: date_default_timezone_set('Asia/Kolkata'); $today = date(" dS F Y h:i:s A"); echo ""; echo "Today date: $today "; // 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 )
@vedpalsaxena2246
@vedpalsaxena2246 Ай бұрын
Thank you... Me soch hi rhi thi ki ye kese hoga
@ojaswijoshi4414
@ojaswijoshi4414 5 ай бұрын
1. echo date("Y/m/d"); 2. echo date("l, F j, Y"); 3. echo date("h:i:s A");
@sunnypatel4273
@sunnypatel4273 4 жыл бұрын
sir me is PHP video series ko follow nathi Kar Raha hu but me apki all python siris ko follow kar Raha hu or bahut sari video to dekh bhi li he but apse etni request thi ki appp ek python with ethical hacking ka pura course ki video seris banaye Thank Q for making a wonder-full python video's
@sunnypatel4273
@sunnypatel4273 4 жыл бұрын
harry bhai ap replay to dijiye
@rishabhkumar6455
@rishabhkumar6455 3 жыл бұрын
i am enjoying your video
@theneelone
@theneelone 4 жыл бұрын
Harry Bhai plz we want to learn about the data base....of Google firebase
@vishant898
@vishant898 4 жыл бұрын
@vishant898
@vishant898 4 жыл бұрын
Thanks Harry bhai finally I got your dil I watched your javascript playlist and learn javascript I also watch your python for absolute beginner
@TaimoorPathan-b8k
@TaimoorPathan-b8k 6 ай бұрын
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";
@HaiderAli-c2y3v
@HaiderAli-c2y3v 11 ай бұрын
very helpfull thanks
@atgamingstudios6445
@atgamingstudios6445 4 жыл бұрын
sir please C# ke tutorials banaiye please sir mai bss aapko hee follow krta hu please sir its a humble request to you
@vaibhavgupta4413
@vaibhavgupta4413 4 жыл бұрын
The best teacher
@princesukhala7106
@princesukhala7106 2 жыл бұрын
1:00min again Done done
@simrankumariofficial4118
@simrankumariofficial4118 3 жыл бұрын
Thanku ❤️❤️ ...you are such a nice guy ❤️❤️❤️😀😀
@mehedihassan916
@mehedihassan916 2 жыл бұрын
@codeviseofficial
@codeviseofficial Жыл бұрын
example 2
@soniyasharma5267
@soniyasharma5267 3 жыл бұрын
Do upload a video on time also, as it is showing europe timezone when executed date(g i s); for printing time.
@upenderbharti
@upenderbharti 4 жыл бұрын
I am learning a lot, useful. Thanks Harry sir.
@Education_hub23
@Education_hub23 Жыл бұрын
Sir your lecture are very appreciatable, please make a video on python dates like making a calculator using library and class
@mrkrackle
@mrkrackle 3 жыл бұрын
Thanks Harry Bhai !
@sakshamchaturvedi9087
@sakshamchaturvedi9087 3 жыл бұрын
Nobody: Harry bhai in 2020: Agar 2021 aayega kabhi 😂😂
@engineerbhai7642
@engineerbhai7642 4 жыл бұрын
You are best teacher and coder.
@BongProgramiz
@BongProgramiz 3 жыл бұрын
helpful 💖💖 23rd april mera birthday ate hain 😁
@ArbazKhan-zp1vh
@ArbazKhan-zp1vh 4 жыл бұрын
Bohot acha course ja raha he
@vickygupta1392
@vickygupta1392 4 жыл бұрын
Very nice super video 👍👍
@gyanabrota
@gyanabrota 4 жыл бұрын
Plz continue machine learning series. Plz do 1 kaggle project
@soniasmelodiousland
@soniasmelodiousland Жыл бұрын
Nice video😊
@codeviseofficial
@codeviseofficial Жыл бұрын
example 1
@alirazaansari02
@alirazaansari02 Жыл бұрын
Welcome to the date function in PHP : Todays date is 26th June 2023 Todays date is 26th June 2023, 5:11:20 Todays date is 26th June 2023, 5:11:20 PM
@indianmuskofficial9278
@indianmuskofficial9278 3 жыл бұрын
thanks a lot bhai
@kushaly8883
@kushaly8883 4 жыл бұрын
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";
@coolavinraj
@coolavinraj 3 жыл бұрын
@codingrakib
@codingrakib Жыл бұрын
hello harry vai iam a javascript developer iam learning now php
@Pankajgaming_ps5
@Pankajgaming_ps5 3 жыл бұрын
9:14 pe semicolon ka error diya baki starting se visual studio code soo gaya tha kiya. 👍👍👍
@abhishekkapoor5800
@abhishekkapoor5800 Ай бұрын
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..
@Manish_Sahu
@Manish_Sahu 2 жыл бұрын
enjoyed
@dineshsuthar9286
@dineshsuthar9286 2 жыл бұрын
Thank u sir
@RahberAcademy
@RahberAcademy 4 жыл бұрын
good bro
@mujeebahmed4825
@mujeebahmed4825 2 жыл бұрын
well explain
@dixaykalgutkar2041
@dixaykalgutkar2041 2 жыл бұрын
Print date(“l dS m y”); Print dat(“y m d”); Print date mktime(0, 0, 0, 7, 1, 2000));
@DipeshShrestha-u9v
@DipeshShrestha-u9v 11 ай бұрын
echo date("L F j Y g:i a"); echo date("j/n/Y"); echo date("D,M,Y,G:i:s");
@gopal12455
@gopal12455 3 жыл бұрын
nice tutorial
@akashdebnath847
@akashdebnath847 4 жыл бұрын
Acha video h sir
@theneelone
@theneelone 4 жыл бұрын
Plz make a full course tutorials plz
@codewithsurya101
@codewithsurya101 Жыл бұрын
Harry bhai, isn't it compulsory to use semicolon after using the 'echo', as in line no. 4? 2:58
@codeviseofficial
@codeviseofficial Жыл бұрын
example 3
@ShivrajSinghSolanki-r9p
@ShivrajSinghSolanki-r9p 11 ай бұрын
mam please make a video on PHP for beginners
@pushpakkshirsagar7161
@pushpakkshirsagar7161 4 жыл бұрын
this is very usefulll
@shreyashmehrotra9245
@shreyashmehrotra9245 2 жыл бұрын
// by shreyash
@khushalchaudhari9437
@khushalchaudhari9437 4 жыл бұрын
Bhai please please please, Angular in 1 hour ki video banao plz. Thanks for this video.
@Anonymous-ge2ll
@Anonymous-ge2ll 2 жыл бұрын
12:35 Ek like zarur thok diya karo yaar videos me. 🤣🤙
@Abcdefgh-yr9xr
@Abcdefgh-yr9xr 4 жыл бұрын
1 -> date("d F f"); //24 january 2021 2 -> date("dS F l"); //24th january sunday 3 -> date("l"); //2021
@itxxsaiff
@itxxsaiff 2 жыл бұрын
Tutorial #17 (17 : 16 : 12 PM October, 25 2022) Done
@preetshah389
@preetshah389 Жыл бұрын
$date = date("Y-m-d"); echo "Today date is $date "; $d = date("Ymd"); echo "Today date is $d "; $date = date("j-m-y"); echo "Today date is $date ";
@codewithharryfanchannel559
@codewithharryfanchannel559 4 жыл бұрын
Best channel.
@ARCHANAKUMARI-du5cw
@ARCHANAKUMARI-du5cw 4 жыл бұрын
Thanx
@myCodingJourney02
@myCodingJourney02 2 жыл бұрын
@sadafjaved-n1z
@sadafjaved-n1z 4 ай бұрын
echo date("h:i A l"); echo date("dS of f");
@qamarabbas322
@qamarabbas322 3 жыл бұрын
i will see you next time
@sainathpatil6299
@sainathpatil6299 4 жыл бұрын
#1st
@realitybhukkad6727
@realitybhukkad6727 4 жыл бұрын
super
@Pankajgaming_ps5
@Pankajgaming_ps5 3 жыл бұрын
Harry bhai, without semicolon apka program vina kisse error ke kese run kr rha hain. Echo main semicolon nhi diya apne. 👍👍
@galaxylimouae
@galaxylimouae 3 жыл бұрын
Harry Bhai, zindabad, from Ejaz Ahmed Pakistani.
@shubham-qd1lw
@shubham-qd1lw Жыл бұрын
always usefulllllllllllllllllllllllllllllllllllllllll
@DARKGAMER-sc5jb
@DARKGAMER-sc5jb 3 жыл бұрын
D = date( jS ,F ,Y)
@funnycareashuu6159
@funnycareashuu6159 4 жыл бұрын
sir ek video aap experience base interview pr bana do
@jenishsonani3905
@jenishsonani3905 4 жыл бұрын
android devlopment ki series me video banao please
@sirwajahatmath218
@sirwajahatmath218 8 ай бұрын
@anamtabrohi3201
@anamtabrohi3201 2 жыл бұрын
echo dates( "aata, maji, satakli" "");
@nareshsharma206
@nareshsharma206 4 жыл бұрын
nice
@deveshchaurasia5146
@deveshchaurasia5146 4 жыл бұрын
Bro please upload video on angular and nodejs also both in one video link separately pleasee
@drostwades824
@drostwades824 4 жыл бұрын
Harry Bhai apke django ke tutorials se bahot help mili h mjhko . Ruby on Rails ke videos bhi bana sakte ho kya??? Plzz agr ho ske to batana
@udayan285
@udayan285 2 жыл бұрын
Thanks #HarryBhai
@umairsaeed5925
@umairsaeed5925 3 жыл бұрын
Is there anyway to replace session value with another session value for example if i am logged as admin and i have a list of my employees there is button of login in front of every employee when i click login button it logged in in employee account then i logged out employee account it redirect me to previous session means admin account i shall be very thankful to you if you answer my question
@aryanraj5433
@aryanraj5433 3 жыл бұрын
bhai php ke liye kaun saa extension use kar rhe ho aap vs code ka?
@ayushbajpai9571
@ayushbajpai9571 4 жыл бұрын
Bhai ml aur ai ki video bnao plz
@ashutoshdeshmukh3824
@ashutoshdeshmukh3824 4 жыл бұрын
Please Make a tutorial on aws mqtt iot with esp8266 in details.sir your tutorial is very good for understanding.thanks for every tutorials.
@ParvinderSingh013
@ParvinderSingh013 4 жыл бұрын
sir 1 project ecommerce par banyo in php
@coderunstudio
@coderunstudio 3 жыл бұрын
Thankyou Harry bhai
@marathinews2477
@marathinews2477 4 жыл бұрын
@abhisingh1227
@abhisingh1227 4 жыл бұрын
plz make videos on kivy python mobile app dev.
@amarjeet.verma1987
@amarjeet.verma1987 4 жыл бұрын
Bhai... When are going to create .Net video's
@ashishgupta7849
@ashishgupta7849 4 жыл бұрын
Harry Bhai is time php ka date function "27th of May 2020 07:56PM" ye output de raha hai jabki actual time hai "28th of May 2020 1:27AM" ..aesa kyu ho raha hai bataiye please 🤔🤔
@ammar_anwar
@ammar_anwar 4 жыл бұрын
Navigate to C:\xampp\php\php.ini Then change your date.timezone = To Asia/Kolkata Restart your XAMPP
@ashishgupta7849
@ashishgupta7849 4 жыл бұрын
@@ammar_anwar are bhai mai xamp nahi use karta hu ..phone me Turmux ki help se pura manually run karta hu 😅. thik hai mai karta hu aesa php my admin ki file me(Thanks 👍)
@hafizabc8692
@hafizabc8692 Жыл бұрын
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 ---> date_default_timezone_set('UTC');
@nimikhan1547
@nimikhan1547 4 жыл бұрын
Enjoying alot
@usamabaig8591
@usamabaig8591 10 ай бұрын
@asutoshghanto3419
@asutoshghanto3419 4 жыл бұрын
me webdev deep me kahan se karun,sab beginner keliye hi padhate hai.
Associative Arrays in Php | PHP Tutorial #18
11:40
CodeWithHarry
Рет қаралды 142 М.
PHP - DateTime Object - Full PHP 8 Tutorial
25:30
Program With Gio
Рет қаралды 23 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Multi-Dimensional Arrays in Php | PHP Tutorial #19
17:06
CodeWithHarry
Рет қаралды 123 М.
PHP Forms Tutorial: GET & POST Requests in php | PHP Tutorial #21
18:16
fopen(), fread() & fclose() in PHP in Hindi | PHP Tutorial #35
15:51
Functions in Php | PHP Tutorial #16
13:17
CodeWithHarry
Рет қаралды 180 М.
Who are Sindhi Hindus | My Wife's Story
29:25
Mohak Mangal
Рет қаралды 1 МЛН
PHP Checkdate & Date_diff Function Tutorial in Hindi / Urdu
15:15