In this video tutorial we will learn about date and time in php, The PHP date() function is used to format a date and/or a time.
syntax : date(format,timestamp)
d – Represents the day of the month (01 to 31)
m – Represents a month (01 to 12)
Y – Represents a year (in four digits)
l (lowercase ‘L’) – Represents the day of the week
Here are some characters that are commonly used for times:
h – 12-hour format of an hour with leading zeros (01 to 12)
i – Minutes with leading zeros (00 to 59)
s – Seconds with leading zeros (00 to 59)
a – Lowercase Ante meridiem and Post meridiem (am or pm)
#PHPtutorialinHindi #PHPtutorial
Nguồn: https://newblurayrelease.com/
Xem thêm bài viết khác: https://newblurayrelease.com/lap-trinh-php/
Xem thêm Bài Viết:
- Đập Tam Hiệp hé lộ sự thật Đập lớn nhất thế giới làm trái đất quay chậm lại, Nếu vỡ Trung quốc sẽ ?
- Git and GitHub for Beginners – Crash Course
- Giới thiệu tổng quan về Tuturial Laravel 6
- Người Việt ở Mỹ bây giờ hiện tại đang đứng ngồi không yên chứ không đùa đâu
- Review chi tiết GIÀY CẦU LÔNG Yonex giá rẻ AKAYU S
WHAT I AM USE FOR PM ?
It is very helpful me thanks for upload this video👍
How we can use date diff function .I will try but it will show error
very easy way to understand yours video so thank u so much sir
nice and awsome sir thnxx
how to add hindi language date,,,, example 20 अप्रैल 2017