Convert date format in MySQL

Here is the example to convert date format in MySQL Suppose you have column name as date_created which is...

Install NodeJs in simple steps

Here are the easy steps to install NodeJs on EC2 Amazon Linux Server First you need to install...

Convert one date to another date format in PHP

Here is the example to convert one date format to another date format in PHP. $first_format="2019-03-12 14:00:00";

Date format in PHP

PHP offers so many formats to display the date. $current_timestamp=date('Y-m-d H:i:s'); Here is the list of...

Add hours/minutes to Timestamp in PHP

You can add hours, minutes or days to any given date or current timestamp in PHP. Example:

Find difference in Hours between two dates in PHP

You can easily find the difference between two dates in hours/minutes/days by using PHP. Example: ...

How to find a specific word in a string in PHP

Use the strpos function $word_string = "Apple Mango Banana"; $find = "Banana"; if( strpos( $word_string, $find ) !==...
LAMP-EC2

Installation of LAMP Server on Amazon Linux EC2

These steps will help you to install Apache web server with PHP and MySQL on Amazon Linux EC2 instance.

Installation of Angular 7

Install NodeJs latest version.Install Angular CLI by typing like – npm install –g @angular/cliInstall typescript – npm install –g typescript Here...